Fix signal handling in read and write
authorIan Abbott <abbotti@mev.co.uk>
Tue, 1 Nov 2011 09:49:29 +0000 (09:49 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Tue, 1 Nov 2011 09:49:29 +0000 (09:49 +0000)
commit549d8aed98c2de6326e6594a8cd020a84ff45726
tree2e86275e061d2f259cb825b12f10bf800091cfac
parent90531c2a26c4e9d8df0ebb21430988b9393006f4
Fix signal handling in read and write

Follow bug-fix by Federico Vaga on the Linux "staging" version:

After sleeping on a wait queue, signal_pending(current) should be
checked (not before sleeping).
comedi/comedi_fops.c