diff options
author | Fred Isaman <iisaman@netapp.com> | 2012-03-22 06:39:34 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-24 19:33:26 +0100 |
commit | d44fc387997c0750125cfb0c2c803a3171b649f4 (patch) | |
tree | 075a1b09e58e684d348bf8a8b2998cea19c64f01 /fs/nfs | |
parent | Fix length of buffer copied in __nfs4_get_acl_uncached (diff) | |
download | linux-d44fc387997c0750125cfb0c2c803a3171b649f4.tar.xz linux-d44fc387997c0750125cfb0c2c803a3171b649f4.zip |
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')
-rw-r--r-- | fs/nfs/nfs4filelayout.c | 1 |
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) if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) goto out; if (list_is_singular(&req->wb_list)) { - struct inode *inode = req->wb_context->dentry->d_inode; struct pnfs_layout_segment *lseg; /* From here we can find the bucket, but for the moment, |