u-boot-brain/fs
Tien Fong Chee 7aa1a6b71c fs/fat/fatwrite: Local variable as buffer to store dir_slot entries
fill_dir_slot use get_contents_vfatname_block as a temporary buffer for
constructing a list of dir_slot entries. To save the memory and providing
correct type of memory for above usage, a local buffer with accurate size
declaration is introduced.

The local array size 640 is used because for long file name entry,
each entry use 32 bytes, one entry can store up to 13 characters.
The maximum number of entry possible is 20. So, total size is
32*20=640bytes.

Signed-off-by: Genevieve Chan <ccheauya@altera.com>
Signed-off-by: Tien Fong Chee <tfchee@altera.com>
2016-11-28 20:09:45 -05:00
..
cbfs cbfs: Fix incorrect CBFS file header size being used 2016-08-16 11:44:09 +08:00
cramfs kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
ext4 ext4: Allow reading files with non-zero offset, clamp read len 2016-11-21 14:07:27 -05:00
fat fs/fat/fatwrite: Local variable as buffer to store dir_slot entries 2016-11-28 20:09:45 -05:00
jffs2 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
reiserfs dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
sandbox sandbox/fs: Free memory allocated by os_dirent_ls 2016-10-11 10:17:07 -06:00
ubifs Fix spelling of "multiple". 2016-10-31 10:13:16 -04:00
yaffs2 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
zfs dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
fs.c dm: blk: Rename get_device_and_partition() 2016-03-14 15:34:50 -06:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile spl: Add EXT support to SPL 2014-10-27 17:54:03 -04:00