Staging: comedi: fix signal handling in read and write
authorFederico Vaga <federico.vaga@gmail.com>
Sat, 29 Oct 2011 07:47:39 +0000 (09:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:34:15 +0000 (18:34 -0800)
After sleeping on a wait queue, signal_pending(current) should be
checked (not before sleeping).

Acked-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found