Skip to content

Commit

Permalink
NFS4.1: remove duplicate variable declaration in filelayout_clear_req…
Browse files Browse the repository at this point in the history
…uest_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>
  • Loading branch information
Fred Isaman authored and Trond Myklebust committed Mar 24, 2012
1 parent 20e0fa9 commit d44fc38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/nfs/nfs4filelayout.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d44fc38

Please sign in to comment.