diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-06-30 14:09:46 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-06-30 15:27:47 -0400 |
commit | 100766f8347c1aeb5a548c5c7aa9012f4a3276f1 (patch) | |
tree | fd9d011197bb466d49d102b5298f4293d18d311c /fs/Makefile | |
parent | 3cd2cfeae187fb754f9530e3f919256f350e89ca (diff) |
nfsd: treat all shutdown signals as equivalent
knfsd currently uses 2 signal masks when processing requests. A "loose"
mask (SHUTDOWN_SIGS) that it uses when receiving network requests, and
then a more "strict" mask (ALLOWED_SIGS, which is just SIGKILL) that it
allows when doing the actual operation on the local storage.
This is apparently unnecessarily complicated. The underlying filesystem
should be able to sanely handle a signal in the middle of an operation.
This patch removes the signal mask handling from knfsd altogether. When
knfsd is started as a kthread, all signals are ignored. It then allows
all of the signals in SHUTDOWN_SIGS. There's no need to set the mask
as well.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions