summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-02-26 12:01:44 +0100
committerJens Axboe <axboe@fb.com>2014-03-13 14:56:38 -0600
commit106fd892bc714a9b7c28daba98a3623a41c32f1a (patch)
treeaaa08a49fe4c4bcb6ae342649cde84cbd879521e /drivers/block/cciss.c
parent7b8a3d22ba93682a542a445ef43d03f495cdf3d6 (diff)
downloadlinux-106fd892bc714a9b7c28daba98a3623a41c32f1a.tar.bz2
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>
Diffstat (limited to 'drivers/block/cciss.c')
0 files changed, 0 insertions, 0 deletions