aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-05-25 01:40:59 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:09 -0400
commit44b11874ff583b6e766a05856b04f3c492c32b84 (patch)
treeb17effcaf70ed67f61b1ec2ed2dea1ea2f884d60 /include/linux/nfs_fs.h
parent38478b24e37587f1c4fedf8ac070ca54f052ed28 (diff)
NFS: Separate metadata and page cache revalidation mechanisms
Separate out the function of revalidating the inode metadata, and revalidating the mapping. The former may be called by lookup(), and only really needs to check that permissions, ctime, etc haven't changed whereas the latter needs only done when we want to read data from the page cache, and may need to sync and then invalidate the mapping. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r--include/linux/nfs_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 1d81e7d82970..1b524b9f982a 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -301,7 +301,7 @@ extern int nfs_release(struct inode *, struct file *);
301extern int nfs_attribute_timeout(struct inode *inode); 301extern int nfs_attribute_timeout(struct inode *inode);
302extern int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode); 302extern int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode);
303extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *); 303extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *);
304extern void nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping); 304extern int nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping);
305extern int nfs_setattr(struct dentry *, struct iattr *); 305extern int nfs_setattr(struct dentry *, struct iattr *);
306extern void nfs_setattr_update_inode(struct inode *inode, struct iattr *attr); 306extern void nfs_setattr_update_inode(struct inode *inode, struct iattr *attr);
307extern void nfs_begin_attr_update(struct inode *); 307extern void nfs_begin_attr_update(struct inode *);