commit | 46f341ffcfb5d8530f7d1e60f3be06cce6661b62 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Sep 16 13:38:51 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Mon Sep 22 14:45:45 2014 -0600 |
tree | 9c6a8902b10d380d7f8ddb74be1da370f2008008 | |
parent | 8b95741569eabc5eb17da71d1d3668cdb0bef86c [diff] |
genhd: fix leftover might_sleep() in blk_free_devt() Commit 2da78092 changed the locking from a mutex to a spinlock, so we now longer sleep in this context. But there was a leftover might_sleep() in there, which now triggers since we do the final free from an RCU callback. Get rid of it. Reported-by: Pontus Fuchs <pontus.fuchs@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>