aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r--fs/nfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index ed7024c34885..e35c8199f82f 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -1798,7 +1798,7 @@ static int nfs_access_get_cached(struct inode *inode, struct rpc_cred *cred, str
1798 if (cache == NULL) 1798 if (cache == NULL)
1799 goto out; 1799 goto out;
1800 if (!nfs_have_delegation(inode, FMODE_READ) && 1800 if (!nfs_have_delegation(inode, FMODE_READ) &&
1801 !time_in_range(jiffies, cache->jiffies, cache->jiffies + nfsi->attrtimeo)) 1801 !time_in_range_open(jiffies, cache->jiffies, cache->jiffies + nfsi->attrtimeo))
1802 goto out_stale; 1802 goto out_stale;
1803 res->jiffies = cache->jiffies; 1803 res->jiffies = cache->jiffies;
1804 res->cred = cache->cred; 1804 res->cred = cache->cred;