[PATCH master] fs: fix file creation by not pointing file dentry at parent dir

Sascha Hauer s.hauer at pengutronix.de
Fri Jun 27 07:41:02 PDT 2025


On Tue, 24 Jun 2025 17:21:48 +0200, Ahmad Fatoum wrote:
> A last-minute regression fix to allow unmounting file systems in some
> situations unfortunately introduced a regression of its own:
> Creating new files with O_CREAT associated a file descriptor's struct
> file with the dentry of the parent directory instead of the dentry
> of the newly created file.
> 
> Opening already existing files worked fine though, leading to e.g.
> problems when saving a fresh environment to a directory:
> 
> [...]

Applied, thanks!

[1/1] fs: fix file creation by not pointing file dentry at parent dir
      https://git.pengutronix.de/cgit/barebox/commit/?id=a3e40011d23a (link may not be stable)

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




More information about the barebox mailing list