dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Fred Isaman 2012-03-22 01:39:34 -04:00 committed by Trond Myklebust
parent 20e0fa98b7
commit d44fc38799
1 changed files with 0 additions and 1 deletions

View File

@ -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,