patch-2.2.0-pre1 linux/fs/smbfs/inode.c
Next file: linux/include/asm-alpha/atomic.h
Previous file: linux/fs/read_write.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Dec 23 09:44:42 1998
-  Orig file: 
v2.1.132/linux/fs/smbfs/inode.c
-  Orig date: 
Mon Apr  6 17:41:01 1998
diff -u --recursive --new-file v2.1.132/linux/fs/smbfs/inode.c linux/fs/smbfs/inode.c
@@ -260,7 +260,7 @@
 	/*
 	 * Check whether we've recently refreshed the inode.
 	 */
-	if (jiffies < inode->u.smbfs_i.oldmtime + HZ/10)
+	if (time_before(jiffies, inode->u.smbfs_i.oldmtime + HZ/10))
 	{
 #ifdef SMBFS_DEBUG_VERBOSE
 printk("smb_revalidate_inode: up-to-date, jiffies=%lu, oldtime=%lu\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov