]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfsd: always release slot when requeueing callback
authorJeff Layton <jlayton@kernel.org>
Sun, 9 Feb 2025 12:31:24 +0000 (07:31 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 10 Mar 2025 13:11:02 +0000 (09:11 -0400)
commit43fa8905db08a39d4d0a709f6f3294037c4db425
tree9722e2570545930db50e3151cff9e6a2877c1b1f
parent6c1cefb84b3dee08e94b6908617f23f3fcc045e9
nfsd: always release slot when requeueing callback

If the callback is going to be requeued to the workqueue, then release
the slot. The callback client and session could change and the slot may
no longer be valid after that point.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4callback.c