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 bdf4ba42abd7..a4fdc4cc306c 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -1762,7 +1762,7 @@ static int nfs_access_get_cached(struct inode *inode, struct rpc_cred *cred, str
1762 cache = nfs_access_search_rbtree(inode, cred); 1762 cache = nfs_access_search_rbtree(inode, cred);
1763 if (cache == NULL) 1763 if (cache == NULL)
1764 goto out; 1764 goto out;
1765 if (!time_in_range(jiffies, cache->jiffies, cache->jiffies + NFS_ATTRTIMEO(inode))) 1765 if (!time_in_range(jiffies, cache->jiffies, cache->jiffies + nfsi->attrtimeo))
1766 goto out_stale; 1766 goto out_stale;
1767 res->jiffies = cache->jiffies; 1767 res->jiffies = cache->jiffies;
1768 res->cred = cache->cred; 1768 res->cred = cache->cred;