]> err.no Git - linux-2.6/commit
signals: send_signal: be paranoid about signalfd_notify()
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 30 Apr 2008 07:53:00 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:36 +0000 (08:29 -0700)
commit53c30337f2c61aff6eecf2a446e839641172f9bd
tree268c52124c19b379b7f9c32430414acb606699cb
parent021e1ae3d85a76ce962a300c96813f04ae50c87c
signals: send_signal: be paranoid about signalfd_notify()

send_signal() shouldn't call signalfd_notify() if it then fails with -EAGAIN.
Harmless, just a paranoid cleanup.

Also remove the comment.  It is obsolete, signalfd_notify() was simplified and
does a simple wakeup.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c