]> git.karo-electronics.de Git - karo-tx-linux.git/commit
autofs4: Use set_current_blocked()
authorMatt Fleming <matt.fleming@intel.com>
Fri, 19 Aug 2011 16:46:56 +0000 (17:46 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 26 Aug 2011 17:15:47 +0000 (19:15 +0200)
commit33ee1d9bc213d6bf8144bc8fbd9e6964b9d81fa5
tree81c6e79c2912fcca37d0fec49addc8bd3cd455c1
parent0b7537b09ecdb3c84406b4d0bf212f45095db6c6
autofs4: 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: Ian Kent <raven@themaw.net>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
fs/autofs4/waitq.c