commit | 106fd892bc714a9b7c28daba98a3623a41c32f1a | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Wed Feb 26 12:01:44 2014 +0100 |
committer | Jens Axboe <axboe@fb.com> | Thu Mar 13 14:56:38 2014 -0600 |
tree | aaa08a49fe4c4bcb6ae342649cde84cbd879521e | |
parent | 7b8a3d22ba93682a542a445ef43d03f495cdf3d6 [diff] |
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>