projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20e0fa9
)
NFS4.1: remove duplicate variable declaration in filelayout_clear_request_commit
author
Fred Isaman
<iisaman@netapp.com>
Thu, 22 Mar 2012 05:39:34 +0000
(
01:39
-0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 24 Mar 2012 18:33:26 +0000
(14:33 -0400)
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>
fs/nfs/nfs4filelayout.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4filelayout.c
b/fs/nfs/nfs4filelayout.c
index 634c0bcb4fd6878776f9d560e8ad023199b975d4..5acfd9ea8a31390eb0f6b3ab6872f8efc334bc2b 100644
(file)
--- 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,