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

Kamal Mostafa kamal at canonical.com
Thu Oct 9 21:15:58 UTC 2014


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






More information about the kernel-team mailing list