lkml.org 
[lkml]   [2022]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: New partition on loop device doesn't appear in /dev anymore with kernel 5.17.0 and newer (repro script included)
Hi,

On Fri, Jun 03, 2022 at 03:23:13PM +0200, Christoph Hellwig wrote:
> On Fri, Jun 03, 2022 at 03:21:28PM +0200, Michael Schaller wrote:
> > Thank you, Christoph! <3
> >
> > Patch https://lore.kernel.org/all/20220527055806.1972352-1-hch@lst.de/
> > does indeed fix the issue.
> >
> > Could this patch also be backported to 5.17 and 5.18?
>
> It should get picked up automatically based on the fixes tag as soon
> as it hits mainline.

As it does not apply cleanly to older versions, this probably will
need a sperate turnaround, but AFAICS it's just because of
a0e286b6a5b6 ("loop: remove lo_refcount and avoid lo_mutex in ->open /
->release") changing context of the fourth hunk in
drivers/block/loop.c .

Regards,
Salvatore

\
 
 \ /
  Last update: 2022-06-05 12:01    [W:0.088 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site