summaryrefslogtreecommitdiffstats
path: root/fs/smbfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/smbfs/inode.c')
-rw-r--r--fs/smbfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c
index e850b7f82..1a278911a 100644
--- a/fs/smbfs/inode.c
+++ b/fs/smbfs/inode.c
@@ -260,7 +260,7 @@ smb_revalidate_inode(struct dentry *dentry)
/*
* 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",