
Hi Stephen,
From: Stephen Warren swarren@nvidia.com
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
v2: New patch
Stephen thanks for the patch.
Acked-by: Lukasz Majewski l.majewski@samsung.com
Test HW: Trats2 (Exynos4412): Tested-by: Lukasz Majewski l.majewski@samsung.com
Organizational issue:
File systems don't have their own trees, so if Tom or Marek don't mind I would like to take this patch to -dfu tree.
Justification: This patch was written solely for fixing flaws of DFU, so I think that it is appropriate to take it to -dfu tree and in this way provide consistency with the following DFU patch.