Messages in this thread | | | Date | Sun, 5 Jun 2022 12:00:10 +0200 | From | Salvatore Bonaccorso <> | Subject | Re: 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
| |