projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c06f8
)
NFSv4.1/pnfs: Remove redundant wakeup in pnfs_send_layoutreturn()
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Tue, 4 Aug 2015 21:18:10 +0000
(17:18 -0400)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Wed, 12 Aug 2015 18:56:19 +0000
(14:56 -0400)
pnfs_clear_layoutreturn_waitbit() should already be calling
rpc_wake_up(&NFS_SERVER(ino)->roc_rpcwaitq) for us.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c
patch
|
blob
|
history
diff --git
a/fs/nfs/pnfs.c
b/fs/nfs/pnfs.c
index 037126a8c21622100bdeabdab692e65a2d297396..6151f39c82916551dfbdeae8a2604ad596ce58ac 100644
(file)
--- a/
fs/nfs/pnfs.c
+++ b/
fs/nfs/pnfs.c
@@
-943,7
+943,6
@@
pnfs_send_layoutreturn(struct pnfs_layout_hdr *lo, nfs4_stateid stateid,
status = -ENOMEM;
spin_lock(&ino->i_lock);
pnfs_clear_layoutreturn_waitbit(lo);
- rpc_wake_up(&NFS_SERVER(ino)->roc_rpcwaitq);
spin_unlock(&ino->i_lock);
pnfs_put_layout_hdr(lo);
goto out;