[PATCH 1/4] fs: fat: propagate actual error code when opening/creating files
Sascha Hauer
s.hauer at pengutronix.de
Fri Aug 28 04:53:25 PDT 2026
On Tue, 25 Aug 2026 12:10:53 +0200, Ahmad Fatoum wrote:
> We currently map all error codes to -EINVAL when opening or creating a
> file, when the underlying functions are capable of returning more error
> codes like -EISDIR or -EROFS.
>
> Propagate the received error code to tell consumers more about what went
> wrong.
>
> [...]
Applied, thanks!
[1/4] fs: fat: propagate actual error code when opening/creating files
https://git.pengutronix.de/cgit/barebox/commit/?id=228a800d9599 (link may not be stable)
[2/4] fs: fat: drop stray printf debug output
https://git.pengutronix.de/cgit/barebox/commit/?id=99cee192dbee (link may not be stable)
[3/4] fs: fat: use fixed-width 32-bit FatFs types
https://git.pengutronix.de/cgit/barebox/commit/?id=f2c889bed1b2 (link may not be stable)
[4/4] fs: fat: flush metadata updates to the block device
https://git.pengutronix.de/cgit/barebox/commit/?id=6d149f6ff875 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list