]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dlm: Remove another superfluous call to recalc_sigpending()
authorMatt Fleming <matt.fleming@intel.com>
Fri, 19 Aug 2011 16:46:58 +0000 (17:46 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 26 Aug 2011 17:15:49 +0000 (19:15 +0200)
commit1ce39791cab0748a84bf65c3a8c9eca521c69645
tree5957e3849338dde4853ff29a709d3c065c04b51a
parenta9f45dd436d12f48ef30937091efa68818294020
dlm: Remove another superfluous call to recalc_sigpending()

recalc_sigpending() is called within sigprocmask(), so there is no
need call it again after sigprocmask() has returned. Furthermore, the
call to recalc_sigpending() could race with signal_wake_up() because
it isn't called with sighand->siglock held. I must have missed this
call when removing the other recalc_sigpending() in commit
4bcad6c1ef53 ("dlm: Remove superfluous call to recalc_sigpending())".

Cc: Christine Caulfield <ccaulfie@redhat.com>
Acked-by: David Teigland <teigland@redhat.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
fs/dlm/user.c