[PATCH 1/2] fs: pstore: don't claim uImages
Sascha Hauer
s.hauer at pengutronix.de
Fri Nov 6 02:03:46 PST 2026
On Tue, 03 Nov 2026 15:32:29 +0100, Ahmad Fatoum wrote:
> pstore_driver sets .type = filetype_uimage, likely copied from uimagefs.
> pstore doesn't read from a device at all, so it shouldn't claim a type.
>
> This is harmless so far, because file system detection never reports
> uImages, but if it did, mounting a uImage without uimagefs enabled would
> mount pstore instead. Let's drop the type. Startup code mounts pstore
> with an explicit type, so it's not affected.
>
> [...]
Applied, thanks!
[1/2] fs: pstore: don't claim uImages
https://git.pengutronix.de/cgit/barebox/commit/?id=46aa94cbab1b (link may not be stable)
[2/2] fs: jffs2: refuse to mount non-MTD devices
https://git.pengutronix.de/cgit/barebox/commit/?id=cda5322f178e (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list