summaryrefslogtreecommitdiffstats
path: root/sound/ac97_bus.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-09-02 17:17:36 -0700
committerJoel Becker <joel.becker@oracle.com>2010-05-10 11:50:10 -0700
commite4b963f10e9026c83419b5c25b93a0350413cf16 (patch)
treed162595c9f79626d040cb28c84e53fd8b7fe50ff /sound/ac97_bus.c
parent0467ae954d1843de65e7cf8f706f88fe65cd8418 (diff)
downloadop-kernel-dev-e4b963f10e9026c83419b5c25b93a0350413cf16.zip
op-kernel-dev-e4b963f10e9026c83419b5c25b93a0350413cf16.tar.gz
ocfs2: Wrap signal blocking in void functions.
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>
Diffstat (limited to 'sound/ac97_bus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud