]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfsd: allow lock state ids to be revoked and then freed
authorNeilBrown <neilb@suse.de>
Tue, 30 Jan 2024 01:08:30 +0000 (12:08 +1100)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:21 +0000 (09:12 -0500)
commit1c13bf9f2e3cd5a59ef988c6c5a49fe0f02bcdfc
treeb67b9a5300841ff9509e4e9c46e9fc80e5d545cc
parentd688d8585e6bea5e4e37f7497feea93b6b0a469c
nfsd: allow lock state ids to be revoked and then freed

Revoking state through 'unlock_filesystem' now revokes any lock states
found.  When the stateids are then freed by the client, the revoked
stateids will be cleaned up correctly.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c