summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2i/bnx2i_iscsi.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2011-07-27 21:49:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 21:53:36 +0200
commitc1095c6da518b0b64e724f629051fa67655cd8d9 (patch)
tree8c2e33ca6c8e3caa71437c3b69b36a8cf03b4f08 /drivers/scsi/bnx2i/bnx2i_iscsi.c
parentsparc: rename atomic_add_unless (diff)
downloadlinux-c1095c6da518b0b64e724f629051fa67655cd8d9.tar.xz
linux-c1095c6da518b0b64e724f629051fa67655cd8d9.zip
signals: sys_ssetmask/sys_rt_sigsuspend should use set_current_blocked()
sys_ssetmask(), sys_rt_sigsuspend() and compat_sys_rt_sigsuspend() change ->blocked directly. This is not correct, see the changelog in e6fa16ab "signal: sigprocmask() should do retarget_shared_pending()" Change them to use set_current_blocked(). Another change is that now we are doing ->saved_sigmask = ->blocked lockless, it doesn't make any sense to do this under ->siglock. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Matt Fleming <matt.fleming@linux.intel.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i_iscsi.c')
0 files changed, 0 insertions, 0 deletions