fs: implement size/fatsize/ext4size
authorStephen Warren <swarren@nvidia.com>
Wed, 11 Jun 2014 18:47:26 +0000 (12:47 -0600)
committerChanho Park <chanho61.park@samsung.com>
Thu, 6 Aug 2015 11:17:27 +0000 (20:17 +0900)
commit44f6921e874e50f9573cd5d46db9228ae1c5ca03
treea7486e9ff522c7b79f320a8d3c7ac850cec8e9cf
parent74159a3c17f267624cae8d0ce0a7e9882976ddc6
fs: implement size/fatsize/ext4size

These commands may be used to determine the size of a file without
actually reading the whole file content into memory. This may be used
to determine if the file will fit into the memory buffer that will
contain it. In particular, the DFU code will use it for this purpose
in the next commit.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Conflicts:
common/cmd_fs.c

Change-Id: I2dc81095d94901aa604f970a5578b342b0009390
common/cmd_ext4.c
common/cmd_fat.c
common/cmd_fs.c
fs/ext4/ext4fs.c
fs/fat/fat.c
fs/fs.c
fs/sandbox/sandboxfs.c
include/ext4fs.h
include/fat.h
include/fs.h
include/sandboxfs.h