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

From: Kamal Mostafa
Date: Thu Oct 09 2014 - 17:16:15 EST


On Thu, 2014-10-09 at 15:09 -0600, Jens Axboe wrote:
> 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:


Okay, this one is now queued for 3.13.11.9 also. Thanks Jens!

-Kamal


> 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>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/