[PATCH] block: fix block device detection

Sascha Hauer s.hauer at pengutronix.de
Tue Aug 5 00:56:36 PDT 2025


On Thu, 24 Jul 2025 11:13:39 +0200, Marco Felsch wrote:
> Before commit a6410cfa9aff ("block: mark underlying cdev with
> DEVFS_IS_BLOCK_DEV") the block device decision was made based on the
> block_ops. Since each parition-cdev inherits the parent (master)
> cdev-ops the parition-cdevs were detected as block device.
> 
> Commit a6410cfa9aff the detection mechanism to be based on cdev flag but
> commit a6410cfa9aff forgot to pass the flag to the partition (child)
> cdev.
> 
> [...]

Applied, thanks!

[1/1] block: fix block device detection
      https://git.pengutronix.de/cgit/barebox/commit/?id=71d8d678b39e (link may not be stable)

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




More information about the barebox mailing list