ocfs2: Wrap signal blocking in void functions.
authorJoel Becker <joel.becker@oracle.com>
Thu, 3 Sep 2009 00:17:36 +0000 (17:17 -0700)
committerJoel Becker <joel.becker@oracle.com>
Mon, 10 May 2010 18:50:10 +0000 (11:50 -0700)
ocfs2 sometimes needs to block signals around dlm operations, but it
currently does it with sigprocmask().  Even worse, it's checking the
error code of sigprocmask().  The in-kernel sigprocmask() can only error
if you get the SIG_* argument wrong.  We don't.

Wrap the sigprocmask() calls with ocfs2_[un]block_signals().  These
functions are void, but they will BUG() if somehow sigprocmask() returns
an error.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/inode.c
fs/ocfs2/mmap.c
fs/ocfs2/super.c
fs/ocfs2/super.h

Simple merge
diff --cc fs/ocfs2/mmap.c
Simple merge
Simple merge
Simple merge