]> git.karo-electronics.de Git - karo-tx-linux.git/commit
coda: Use set_current_blocked()
authorMatt Fleming <matt.fleming@intel.com>
Fri, 19 Aug 2011 16:46:57 +0000 (17:46 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 26 Aug 2011 17:15:48 +0000 (19:15 +0200)
commita9f45dd436d12f48ef30937091efa68818294020
treecbcd92594f8ad3cd41b6e10803c7c275d12b02d2
parent33ee1d9bc213d6bf8144bc8fbd9e6964b9d81fa5
coda: Use set_current_blocked()

As described in e6fa16ab ("signal: sigprocmask() should do
retarget_shared_pending()") the modification of current->blocked is
incorrect as we need to check whether the signal we're about to block
is pending in the shared queue.

Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
fs/coda/upcall.c