[PATCH] fs: tmpfile_create(): add missing mntget()

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 19 04:12:14 PST 2026


On Mon, 19 Jan 2026 10:46:17 +0100, Sascha Hauer wrote:
> tmpfile_create() assigns the parentpath->mnt to the new file's path
> without mntget() it, so we'll get unbalanced reference count when
> the tmpfile is closed. Add the missing mntget().
> 
> 

Applied, thanks!

[1/1] fs: tmpfile_create(): add missing mntget()
      https://git.pengutronix.de/cgit/barebox/commit/?id=4f3aee3f1c60 (link may not be stable)

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




More information about the barebox mailing list