Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58830550 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent e1c06f80
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;