diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-09-29 17:48:19 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 17:19:53 -0400 |
commit | 60ccd4ec4170c9487e3792322626acd160197bce (patch) | |
tree | b35353518bd7945a40e39edfa543ce80aaa3f8b4 /include/linux | |
parent | 80eb209def76d375677840800eb838abce1e6639 (diff) |
NFS: Remove nfs_begin_data_update/nfs_end_data_update
The lower level routines in fs/nfs/proc.c, fs/nfs/nfs3proc.c and
fs/nfs/nfs4proc.c should already be dealing with the revalidation issues.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_fs.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 1b4edc6f7fd7..8f632bd854af 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -219,15 +219,6 @@ static inline struct nfs_inode *NFS_I(struct inode *inode) | |||
219 | 219 | ||
220 | #define NFS_FILEID(inode) (NFS_I(inode)->fileid) | 220 | #define NFS_FILEID(inode) (NFS_I(inode)->fileid) |
221 | 221 | ||
222 | /** | ||
223 | * nfs_begin_data_update | ||
224 | * @inode - pointer to inode | ||
225 | * Declare that a set of operations will update file data on the server | ||
226 | */ | ||
227 | static inline void nfs_begin_data_update(struct inode *inode) | ||
228 | { | ||
229 | } | ||
230 | |||
231 | static inline void nfs_mark_for_revalidate(struct inode *inode) | 222 | static inline void nfs_mark_for_revalidate(struct inode *inode) |
232 | { | 223 | { |
233 | struct nfs_inode *nfsi = NFS_I(inode); | 224 | struct nfs_inode *nfsi = NFS_I(inode); |
@@ -296,9 +287,6 @@ extern int nfs_revalidate_mapping(struct inode *inode, struct address_space *map | |||
296 | extern int nfs_revalidate_mapping_nolock(struct inode *inode, struct address_space *mapping); | 287 | extern int nfs_revalidate_mapping_nolock(struct inode *inode, struct address_space *mapping); |
297 | extern int nfs_setattr(struct dentry *, struct iattr *); | 288 | extern int nfs_setattr(struct dentry *, struct iattr *); |
298 | extern void nfs_setattr_update_inode(struct inode *inode, struct iattr *attr); | 289 | extern void nfs_setattr_update_inode(struct inode *inode, struct iattr *attr); |
299 | extern void nfs_begin_attr_update(struct inode *); | ||
300 | extern void nfs_end_attr_update(struct inode *); | ||
301 | extern void nfs_end_data_update(struct inode *); | ||
302 | extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx); | 290 | extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx); |
303 | extern void put_nfs_open_context(struct nfs_open_context *ctx); | 291 | extern void put_nfs_open_context(struct nfs_open_context *ctx); |
304 | extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, int mode); | 292 | extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, int mode); |