Re: [PATCH] kpartx: hold device open until partitions have been created

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2022-10-19 at 12:57 -0500, Benjamin Marzinski wrote:
> kpartx was closing the whole device after it read the partition
> information off it.  This allowed a race, where the device could be
> removed and another one created with the same major:minor, after
> kpartx
> read the partition information but before it created the partition
> devices.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>

Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux