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 /fs/nfs/write.c | |
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 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 3e9e268b887e..e2bb66c34406 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -378,7 +378,6 @@ static int nfs_inode_add_request(struct inode *inode, struct nfs_page *req) | |||
378 | return error; | 378 | return error; |
379 | if (!nfsi->npages) { | 379 | if (!nfsi->npages) { |
380 | igrab(inode); | 380 | igrab(inode); |
381 | nfs_begin_data_update(inode); | ||
382 | if (nfs_have_delegation(inode, FMODE_WRITE)) | 381 | if (nfs_have_delegation(inode, FMODE_WRITE)) |
383 | nfsi->change_attr++; | 382 | nfsi->change_attr++; |
384 | } | 383 | } |
@@ -406,7 +405,6 @@ static void nfs_inode_remove_request(struct nfs_page *req) | |||
406 | nfsi->npages--; | 405 | nfsi->npages--; |
407 | if (!nfsi->npages) { | 406 | if (!nfsi->npages) { |
408 | spin_unlock(&inode->i_lock); | 407 | spin_unlock(&inode->i_lock); |
409 | nfs_end_data_update(inode); | ||
410 | iput(inode); | 408 | iput(inode); |
411 | } else | 409 | } else |
412 | spin_unlock(&inode->i_lock); | 410 | spin_unlock(&inode->i_lock); |