diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 13:16:30 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 16:07:37 -0400 |
commit | 7d52e86274e09fce8ac8f963e3605a84d0a305a7 (patch) | |
tree | b9ecc05bbdff94aa344f39b53756bfddbd9db123 /include/linux/nfs_fs.h | |
parent | 951a143b3fcf15cfa9d38250b7462f821db241db (diff) |
[PATCH] NFS: Cleanup of caching code, and slight optimization of writes.
Unless we're doing O_APPEND writes, we really don't care about revalidating
the file length. Just make sure that we catch any page cache invalidations.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 211266c56ce5..443103c13e53 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -289,6 +289,7 @@ extern int nfs_release(struct inode *, struct file *); | |||
289 | extern int nfs_attribute_timeout(struct inode *inode); | 289 | extern int nfs_attribute_timeout(struct inode *inode); |
290 | extern int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode); | 290 | extern int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode); |
291 | extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *); | 291 | extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *); |
292 | extern void nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping); | ||
292 | extern int nfs_setattr(struct dentry *, struct iattr *); | 293 | extern int nfs_setattr(struct dentry *, struct iattr *); |
293 | extern void nfs_begin_attr_update(struct inode *); | 294 | extern void nfs_begin_attr_update(struct inode *); |
294 | extern void nfs_end_attr_update(struct inode *); | 295 | extern void nfs_end_attr_update(struct inode *); |