Skip to content

Commit f548932

Browse files
Trond Myklebustgregkh
authored andcommitted
Revert "SUNRPC: Don't allow waiting for exiting tasks"
commit 199cd9e upstream. This reverts commit 14e41b1. This patch breaks the LTP acct02 test, so let's revert and look for a better solution. Reported-by: Mark Brown <broonie@kernel.org> Reported-by: Harshvardhan 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: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4188658 commit f548932

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/sunrpc/sched.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ EXPORT_SYMBOL_GPL(rpc_destroy_wait_queue);
276276

277277
static int rpc_wait_bit_killable(struct wait_bit_key *key, int mode)
278278
{
279-
if (unlikely(current->flags & PF_EXITING))
280-
return -EINTR;
281279
schedule();
282280
if (signal_pending_state(mode, current))
283281
return -ERESTARTSYS;

0 commit comments

Comments
 (0)