diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-02-13 16:49:24 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-02-19 19:45:53 +0100 |
commit | c72f15b7d9b3cc744f066776dd0e61e6ab25e7d2 (patch) | |
tree | 707390e53b298b9c6c4fbf5e279648b8e2364581 /fs/orangefs/orangefs-utils.c | |
parent | orangefs: sanitize handling of request list (diff) | |
download | linux-c72f15b7d9b3cc744f066776dd0e61e6ab25e7d2.tar.xz linux-c72f15b7d9b3cc744f066776dd0e61e6ab25e7d2.zip |
service_operation(): don't block signals, just use ..._killable
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-utils.c')
-rw-r--r-- | fs/orangefs/orangefs-utils.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/fs/orangefs/orangefs-utils.c b/fs/orangefs/orangefs-utils.c index 63e8c9bc912e..488f3501b09c 100644 --- a/fs/orangefs/orangefs-utils.c +++ b/fs/orangefs/orangefs-utils.c @@ -707,27 +707,6 @@ void orangefs_make_bad_inode(struct inode *inode) } } -/* Block all blockable signals... */ -void orangefs_block_signals(sigset_t *orig_sigset) -{ - sigset_t mask; - - /* - * Initialize all entries in the signal set to the - * inverse of the given mask. - */ - siginitsetinv(&mask, sigmask(SIGKILL)); - - /* Block 'em Danno... */ - sigprocmask(SIG_BLOCK, &mask, orig_sigset); -} - -/* set the signal mask to the given template... */ -void orangefs_set_signals(sigset_t *sigset) -{ - sigprocmask(SIG_SETMASK, sigset, NULL); -} - /* * The following is a very dirty hack that is now a permanent part of the * ORANGEFS protocol. See protocol.h for more error definitions. |