aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2025-09-03 13:49:33 +0000
committerTrond Myklebust <[email protected]>2025-09-06 20:51:26 +0000
commit199cd9e8d14bc14bdbd1fa3031ce26dac9781507 (patch)
treebaf34f18a285b4dd08355a44f179b667d012b4fd
parentNFS: Fix the marking of the folio as up to date (diff)
downloadkernel-199cd9e8d14bc14bdbd1fa3031ce26dac9781507.tar.gz
kernel-199cd9e8d14bc14bdbd1fa3031ce26dac9781507.zip
Revert "SUNRPC: Don't allow waiting for exiting tasks"
This reverts commit 14e41b16e8cb677bb440dca2edba8b041646c742. This patch breaks the LTP acct02 test, so let's revert and look for a better solution. Reported-by: Mark Brown <[email protected]> Reported-by: Harshvardhan Jha <[email protected]> Link: https://lore.kernel.org/linux-nfs/[email protected]/ Cc: [email protected] # 6.15.x Signed-off-by: Trond Myklebust <[email protected]>
-rw-r--r--net/sunrpc/sched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index 73bc39281ef5..9b45fbdc90ca 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -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;