commit | 28ea29f3e280223c161fb9b163e118fbdf74ff16 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Mon Nov 01 17:28:00 2010 +0100 |
committer | Stefan Roese <sr@denx.de> | Fri Dec 03 16:33:47 2010 +0100 |
tree | be575ad7fc80882733954bc7e20140de0bc559a0 | |
parent | 67a0f5252f1ca75fdd11187bfb3ca9bfb66bacfa [diff] |
UBIFS: Change ubifsload to not read beyond the requested size Until now ubifsload pads the destination with 0 up to a multiple of UBIFS_BLOCK_SIZE (4KiB) while reading a file to memory. This patch changes this behaviour to only read to the requested length. This is either the file length or the length/size provided as parameter to the ubifsload command. Signed-off-by: Stefan Roese <sr@denx.de>