From: Arnd Bergmann Date: Wed, 26 Feb 2014 11:01:44 +0000 (+0100) Subject: swim3: fix interruptible_sleep_on race X-Git-Tag: v3.15-rc1~134^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=106fd892bc714a9b7c28daba98a3623a41c32f1a;p=pandora-kernel.git swim3: fix interruptible_sleep_on race interruptible_sleep_on is racy and going away. This replaces the one caller in the swim3 driver with the equivalent race-free wait_event_interruptible call. Since we're here already, this also fixes the case where we get interrupted from atomic context, which used to just spin in the loop. Signed-off-by: Arnd Bergmann Cc: Jens Axboe Signed-off-by: Jens Axboe --- Reading git-diff-tree failed