aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 13:16:30 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 16:07:37 -0400
commit7d52e86274e09fce8ac8f963e3605a84d0a305a7 (patch)
treeb9ecc05bbdff94aa344f39b53756bfddbd9db123 /include/linux/nfs_fs.h
parent951a143b3fcf15cfa9d38250b7462f821db241db (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.h1
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 *);
289extern int nfs_attribute_timeout(struct inode *inode); 289extern int nfs_attribute_timeout(struct inode *inode);
290extern int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode); 290extern int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode);
291extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *); 291extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *);
292extern void nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping);
292extern int nfs_setattr(struct dentry *, struct iattr *); 293extern int nfs_setattr(struct dentry *, struct iattr *);
293extern void nfs_begin_attr_update(struct inode *); 294extern void nfs_begin_attr_update(struct inode *);
294extern void nfs_end_attr_update(struct inode *); 295extern void nfs_end_attr_update(struct inode *);