]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFS: Don't allow waiting for exiting tasks
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 28 Mar 2025 17:19:18 +0000 (13:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:41:54 +0000 (14:41 +0200)
commitc72826efbb5ebddeda03311b4e2af2e75ef759da
treed7a939a9aabe278fa1e1e6bf660b04d9930c7bba
parenta81dd69f859b696af75f0f5d36e38d39c4beb32e
NFS: Don't allow waiting for exiting tasks

[ Upstream commit 8d3ca331026a7f9700d3747eed59a67b8f828cdc ]

Once a task calls exit_signals() it can no longer be signalled. So do
not allow it to do killable waits.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/inode.c
fs/nfs/internal.h
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c