Commit d44fc387 authored by Fred Isaman's avatar Fred Isaman Committed by Trond Myklebust

NFS4.1: remove duplicate variable declaration in filelayout_clear_request_commit

inode is declared twice for no good reason
Signed-off-by: default avatarFred Isaman <iisaman@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 20e0fa98
...@@ -793,7 +793,6 @@ filelayout_clear_request_commit(struct nfs_page *req) ...@@ -793,7 +793,6 @@ filelayout_clear_request_commit(struct nfs_page *req)
if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags))
goto out; goto out;
if (list_is_singular(&req->wb_list)) { if (list_is_singular(&req->wb_list)) {
struct inode *inode = req->wb_context->dentry->d_inode;
struct pnfs_layout_segment *lseg; struct pnfs_layout_segment *lseg;
/* From here we can find the bucket, but for the moment, /* From here we can find the bucket, but for the moment,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment