[PATCH 3.13 026/163] block: Fix dev_t minor allocation lifetime

Jens Axboe axboe at fb.com
Thu Oct 9 21:09:08 UTC 2014


On 10/09/2014 03:00 PM, Kamal Mostafa wrote:
> 3.13.11.9 -stable review patch.  If anyone has any objections, please let me know.

You need this one as well, like I told Greg the other day:

commit 46f341ffcfb5d8530f7d1e60f3be06cce6661b62
Author: Jens Axboe <axboe at fb.com>
Date:   Tue Sep 16 13:38:51 2014 -0600

    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 at gmail.com>
    Signed-off-by: Jens Axboe <axboe at fb.com>

-- 
Jens Axboe





More information about the kernel-team mailing list