aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 9d012a6ee4cc..469387920dd9 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -117,8 +117,8 @@ static void nfs_zap_caches_locked(struct inode *inode)
117 117
118 nfs_inc_stats(inode, NFSIOS_ATTRINVALIDATE); 118 nfs_inc_stats(inode, NFSIOS_ATTRINVALIDATE);
119 119
120 NFS_ATTRTIMEO(inode) = NFS_MINATTRTIMEO(inode); 120 nfsi->attrtimeo = NFS_MINATTRTIMEO(inode);
121 NFS_ATTRTIMEO_UPDATE(inode) = jiffies; 121 nfsi->attrtimeo_timestamp = jiffies;
122 122
123 memset(NFS_COOKIEVERF(inode), 0, sizeof(NFS_COOKIEVERF(inode))); 123 memset(NFS_COOKIEVERF(inode), 0, sizeof(NFS_COOKIEVERF(inode)));
124 if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) 124 if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))