[PATCH] cdev: maintain partition index in struct cdev

Sascha Hauer s.hauer at pengutronix.de
Thu Dec 18 01:37:57 PST 2025


On Thu, 18 Dec 2025 10:19:45 +0100, Ahmad Fatoum wrote:
> For use by the EFI loader, we will need to know a partition's number
> within the partition table on disk, so have the devfs-core keep track
> of that.
> 
> Mere iteration over the cdev list doesn't work for thus purpose as there
> may be invalid PTEs, which cause e.g. the first on-disk partition to
> have a higher number.
> 
> [...]

Applied, thanks!

[1/1] cdev: maintain partition index in struct cdev
      https://git.pengutronix.de/cgit/barebox/commit/?id=ebe242d1d9d2 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list