Searched hist:"106 fd892bc714a9b7c28daba98a3623a41c32f1a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/block/ |
H A D | swim3.c | diff 106fd892bc714a9b7c28daba98a3623a41c32f1a Wed Feb 26 05:01:44 CST 2014 Arnd Bergmann <arnd@arndb.de> 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 <arnd@arndb.de> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Jens Axboe <axboe@fb.com>
|