[PATCH] fs: remove O_DIRECTORY flag from O_TMPFILE

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 5 05:01:06 PDT 2025


On Wed, 04 Jun 2025 15:15:06 +0200, Stefan Kerkmann wrote:
> Decompressing fit images fails since release 2025.05.0 with commit
> a1248198fa ("fs: implement O_DIRECTORY").
> 
> The reason is that converting the decompression buffer fd back to a file
> in the `fd_to_file` fails the `O_DIRECTORY` flag check. This is flag is
> set because `O_TMPFILE` is defined to contain the `O_DIRECTORY` flag.
> 
> [...]

Applied, thanks!

[1/1] fs: remove O_DIRECTORY flag from O_TMPFILE
      https://git.pengutronix.de/cgit/barebox/commit/?id=95aeb8d47d10 (link may not be stable)

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




More information about the barebox mailing list