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

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