u-boot-brain/fs/fat
Rob Clark 725ffdb5cb fs/fat: fix fatbuf leak
A new fatbuf was allocated by get_fs_info() (called by fat_itr_root()),
but not freed, resulting in eventually running out of memory.  Spotted
by running 'ls -r' in a large FAT filesystem from Shell.efi.

fatbuf is mainly used to cache FAT entry lookups (get_fatent())..
possibly once fat_write.c it can move into the iterator to simplify
this.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Łukasz Majewski <lukma@denx.de>
2017-09-15 09:03:15 -04:00
..
fat_write.c fs/fat: Clean up open-coded sector <-> cluster conversions 2017-09-15 09:03:15 -04:00
fat.c fs/fat: fix fatbuf leak 2017-09-15 09:03:15 -04:00
Kconfig fs: fat: add kbuild configuration support 2017-06-03 17:55:16 -04:00
Makefile fat/fs: remove a bunch of dead code 2017-09-15 09:03:12 -04:00