From: Jörn Engel Date: Thu, 12 Apr 2012 21:33:25 +0000 (-0400) Subject: [SCSI] sg: use wait_event_interruptible() X-Git-Tag: v3.5-rc1~172^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0c6aba0b65a68013c1e0db1b015f02e6ec24be;p=pandora-kernel.git [SCSI] sg: use wait_event_interruptible() Afaics the use of __wait_event_interruptible() as opposed to wait_event_interruptible() is purely historic. So let's follow the rest of the kernel and check the condition before prepare_to_wait() - and also make the code a bit nicer. Signed-off-by: Joern Engel Acked-by: Douglas Gilbert Signed-off-by: James Bottomley --- Reading git-diff-tree failed