]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4: Check for delegation validity in nfs_start_delegation_return_locked()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 27 Mar 2025 23:20:53 +0000 (19:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:37:54 +0000 (14:37 +0200)
commit2272e75d7a8026c50deeca78d4a1ad48d5cfc5f7
treed2ff1fb666d54114227f2d2765c3a5e8a98376dd
parentf41f9ce3c7093ac389064f8b09aa838c4b977496
NFSv4: Check for delegation validity in nfs_start_delegation_return_locked()

[ Upstream commit 9e8f324bd44c1fe026b582b75213de4eccfa1163 ]

Check that the delegation is still attached after taking the spin lock
in nfs_start_delegation_return_locked().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/delegation.c