lockd: remove SIGKILL handling
authorNeilBrown <neilb@suse.de>
Tue, 18 Jul 2023 06:38:08 +0000 (16:38 +1000)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 29 Aug 2023 21:45:22 +0000 (17:45 -0400)
commit8db14cad28ae8ec3fde0fef18e969782bca204d1
tree13a2d9c2db140a7f89415999be4a6124992de8f4
parentde8d38cf44bac43e83bad28357ba84784c412752
lockd: remove SIGKILL handling

lockd allows SIGKILL and responds by dropping all locks and restarting
the grace period.  This functionality has been present since 2.1.32 when
lockd was added to Linux.

This functionality is undocumented and most likely added as a useful
debug aid.  When there is a need to drop locks, the better approach is
to use /proc/fs/nfsd/unlock_*.

This patch removes SIGKILL handling as part of preparation for removing
all signal handling from sunrpc service threads.

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