
12 Sep
2015
12 Sep
'15
2:51 p.m.
On Fri, Sep 04, 2015 at 10:03:43PM -0600, Stephen Warren wrote:
From: Stephen Warren swarren@nvidia.com
ext4_write_file() is only called from the "fs" layer, which calls both ext4fs_mount() and ext4fs_close() before/after calling ext4_write_file(). Fix ext4_write_file() not to call ext4fs_mount() again, since the mount operation malloc()s some RAM which is leaked when a second mount call over-writes the pointer to that data, if no intervening close call is made.
Signed-off-by: Stephen Warren swarren@nvidia.com Acked-by: Lukasz Majewski l.majewski@samsung.com Tested-by: Lukasz Majewski l.majewski@samsung.com
Applied to u-boot/master, thanks!
--
Tom