From: Trond Myklebust Date: Tue, 4 Aug 2015 21:18:10 +0000 (-0400) Subject: NFSv4.1/pnfs: Remove redundant wakeup in pnfs_send_layoutreturn() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=58830550f009c5f60f702c9d3021f8c3be0012b0;p=linux-beck.git 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 --- 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;