summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-09-16 13:38:51 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-05 13:41:06 -0700
commite8b1e9604f97d8c74c84b3754e8ca9ad7e41b38a (patch)
tree46bcc00e5c19a49f9bba2199bcd0a17cbd272dfb /include/linux
parent5083d713c57be72c30ea5fc6fad243f69fd60c37 (diff)
genhd: fix leftover might_sleep() in blk_free_devt()
commit 46f341ffcfb5d8530f7d1e60f3be06cce6661b62 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions