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

From: Jens Axboe
Date: Thu Oct 09 2014 - 17:30:34 EST

On 10/09/2014 03:00 PM, Kamal Mostafa wrote:
> -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@xxxxxx>
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@xxxxxxxxx>
Signed-off-by: Jens Axboe <axboe@xxxxxx>

Jens Axboe

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at