kernel_samsung_a53x/fs/lockd
NeilBrown c3b60ee331 lockd: introduce lockd_put()
[ Upstream commit 865b674069e05e5779fcf8cf7a166d2acb7e930b ]

There is some cleanup that is duplicated in lockd_down() and the failure
path of lockd_up().
Factor these out into a new lockd_put() and call it from both places.

lockd_put() does *not* take the mutex - that must be held by the caller.
It decrements nlmsvc_users and if that reaches zero, it cleans up.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:51 +01:00
..
clnt4xdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clntlock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clntproc.c SUNRPC: Trace calls to .rpc_call_done 2024-11-19 12:27:47 +01:00
clntxdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
host.c fs/lockd: convert comma to semicolon 2024-11-19 12:27:28 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netns.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
procfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
procfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svc.c lockd: introduce lockd_put() 2024-11-19 12:27:51 +01:00
svc4proc.c SUNRPC: Trace calls to .rpc_call_done 2024-11-19 12:27:47 +01:00
svclock.c lockd: don't attempt blocking locks on nfs reexports 2024-11-19 12:27:44 +01:00
svcproc.c SUNRPC: Trace calls to .rpc_call_done 2024-11-19 12:27:47 +01:00
svcshare.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcsubs.c Keep read and write fds with each nlm_file 2024-11-19 12:27:44 +01:00
svcxdr.h NLM: Fix svcxdr_encode_owner() 2024-11-19 12:27:45 +01:00
xdr.c SUNRPC: Change return value type of .pc_encode 2024-11-19 12:27:48 +01:00
xdr4.c SUNRPC: Change return value type of .pc_encode 2024-11-19 12:27:48 +01:00