Commit 199cd9e8 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

Revert "SUNRPC: Don't allow waiting for exiting tasks"



This reverts commit 14e41b16.

This patch breaks the LTP acct02 test, so let's revert and look for a
better solution.

Reported-by: default avatarMark Brown <broonie@kernel.org>
Reported-by: default avatarHarshvardhan Jha <harshvardhan.j.jha@oracle.com>
Link: https://lore.kernel.org/linux-nfs/7d4d57b0-39a3-49f1-8ada-60364743e3b4@sirena.org.uk/


Cc: stable@vger.kernel.org # 6.15.x
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent c12b6a7b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -276,8 +276,6 @@ EXPORT_SYMBOL_GPL(rpc_destroy_wait_queue);

static int rpc_wait_bit_killable(struct wait_bit_key *key, int mode)
{
	if (unlikely(current->flags & PF_EXITING))
		return -EINTR;
	schedule();
	if (signal_pending_state(mode, current))
		return -ERESTARTSYS;