[PATCH] fs: combine __d_alloc's allocations into one
Sascha Hauer
s.hauer at pengutronix.de
Fri Mar 14 08:54:31 PDT 2025
On Thu, 13 Mar 2025 07:45:40 +0100, Ahmad Fatoum wrote:
> Instead of doing two allocations, one for the struct dentry and one for
> the full name, just do one allocation and place them after each other.
>
> This has the extra benefit of fixing a leak of the dentry allocation
> when the second allocation for the file name fails.
>
>
> [...]
Applied, thanks!
[1/1] fs: combine __d_alloc's allocations into one
https://git.pengutronix.de/cgit/barebox/commit/?id=9b21612c3bc0 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list