Re: [PATCH] fs: Fix reserved memory alloaction in fs_read()

2024-09-17 Thread Sughosh Ganu
On Mon, 16 Sept 2024 at 11:10, Vaishnav Achath wrote: > > The reserved memory region in fs_read() is not being > freed after read, free that. The issue was uncovered by > commit ed17a33fed29 ("lmb: make LMB memory map persistent and global") > as now the region used to load from fs cannot be reuse

[PATCH] fs: Fix reserved memory alloaction in fs_read()

2024-09-15 Thread Vaishnav Achath
The reserved memory region in fs_read() is not being freed after read, free that. The issue was uncovered by commit ed17a33fed29 ("lmb: make LMB memory map persistent and global") as now the region used to load from fs cannot be reused by other loaders like tftp, wget which use lmb_get_free_size()