mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
genhd: fix leftover might_sleep() in blk_free_devt()
commit46f341ffcfupstream. Commit2da78092changed 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>
This commit is contained in:
parent
0c99fc04f3
commit
9783e9905e
1 changed files with 0 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue