aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4filelayout.c
diff options
context:
space:
mode:
authorFred Isaman <iisaman@netapp.com>2012-03-22 01:39:34 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-24 14:33:26 -0400
commitd44fc387997c0750125cfb0c2c803a3171b649f4 (patch)
tree075a1b09e58e684d348bf8a8b2998cea19c64f01 /fs/nfs/nfs4filelayout.c
parent20e0fa98b751facf9a1101edaefbc19c82616a68 (diff)
NFS4.1: remove duplicate variable declaration in filelayout_clear_request_commit
inode is declared twice for no good reason Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4filelayout.c')
-rw-r--r--fs/nfs/nfs4filelayout.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c
index 634c0bcb4fd6..5acfd9ea8a31 100644
--- a/fs/nfs/nfs4filelayout.c
+++ b/fs/nfs/nfs4filelayout.c
@@ -793,7 +793,6 @@ filelayout_clear_request_commit(struct nfs_page *req)
793 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) 793 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags))
794 goto out; 794 goto out;
795 if (list_is_singular(&req->wb_list)) { 795 if (list_is_singular(&req->wb_list)) {
796 struct inode *inode = req->wb_context->dentry->d_inode;
797 struct pnfs_layout_segment *lseg; 796 struct pnfs_layout_segment *lseg;
798 797
799 /* From here we can find the bucket, but for the moment, 798 /* From here we can find the bucket, but for the moment,