aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-09-28 17:11:45 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:19:03 -0400
commitc4812998398d9cbce8646494704c52297359ede0 (patch)
tree8c7b786779b03d1960c25800a7a27a10f8318e99 /include/linux
parent57fa76f2da05d0fee597b26bbc1f05242252beab (diff)
NFS: Fix atime revalidation in readdir()
NFSv3 will correctly update atime on a readdir call, so there is no need to set the NFS_INO_INVALID_ATIME flag unless the call to nfs_refresh_inode() fails. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index fd2c5c8158cf..63850a884902 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -288,6 +288,7 @@ static inline int nfs_verify_change_attribute(struct inode *inode, unsigned long
288extern int nfs_sync_mapping(struct address_space *mapping); 288extern int nfs_sync_mapping(struct address_space *mapping);
289extern void nfs_zap_mapping(struct inode *inode, struct address_space *mapping); 289extern void nfs_zap_mapping(struct inode *inode, struct address_space *mapping);
290extern void nfs_zap_caches(struct inode *); 290extern void nfs_zap_caches(struct inode *);
291extern void nfs_invalidate_atime(struct inode *);
291extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *, 292extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *,
292 struct nfs_fattr *); 293 struct nfs_fattr *);
293extern int nfs_refresh_inode(struct inode *, struct nfs_fattr *); 294extern int nfs_refresh_inode(struct inode *, struct nfs_fattr *);