diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-04 17:18:10 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-12 14:56:19 -0400 |
commit | 58830550f009c5f60f702c9d3021f8c3be0012b0 (patch) | |
tree | 53168be3bfd573cc14a78c8c86355e391ba344b4 /fs | |
parent | e1c06f80dcca54cd323d1b98eb385a2c05c6e06b (diff) | |
download | linux-stable-58830550f009c5f60f702c9d3021f8c3be0012b0.tar.gz linux-stable-58830550f009c5f60f702c9d3021f8c3be0012b0.tar.bz2 linux-stable-58830550f009c5f60f702c9d3021f8c3be0012b0.zip |
NFSv4.1/pnfs: Remove redundant wakeup in pnfs_send_layoutreturn()
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/pnfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 037126a8c216..6151f39c8291 100644 --- 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; |