commit | b1a14f8a1c2e72d5c58269d0200f722d8eec19c4 | [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 | 9a2ea578bc2f556fd92a3bcb9127d3fc9c6ee1bd [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>