diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-02-26 12:01:44 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-03-13 14:56:38 -0600 |
commit | 106fd892bc714a9b7c28daba98a3623a41c32f1a (patch) | |
tree | aaa08a49fe4c4bcb6ae342649cde84cbd879521e /drivers/block/cciss.c | |
parent | 7b8a3d22ba93682a542a445ef43d03f495cdf3d6 (diff) | |
download | linux-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