[PATCH] fs: ramfs: allocate once instead of twice per ramfs chunk
Sascha Hauer
s.hauer at pengutronix.de
Wed May 15 22:56:44 PDT 2024
On Wed, 15 May 2024 17:24:10 +0200, Ahmad Fatoum wrote:
> There's no reason to maintain two allocations per chunk, so just collect
> them both into the same calloc call.
>
> No functional change.
>
>
Applied, thanks!
[1/1] fs: ramfs: allocate once instead of twice per ramfs chunk
https://git.pengutronix.de/cgit/barebox/commit/?id=6e502a0ca8d9 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list