Re: [U-Boot] [PATCH v7 5/6] fs: API changes to enable extra parameter to return size of type loff_t

2014-11-14 Thread Suriyan Ramasami
On Tue, Nov 11, 2014 at 4:55 PM, Simon Glass s...@chromium.org wrote: On 10 November 2014 13:17, Suriyan Ramasami suriya...@gmail.com wrote: The sandbox/ext4/fat/generic fs commands do not gracefully deal with file greater than 2GB. Negative values are returned in such cases. To handle this,

Re: [U-Boot] [PATCH v7 5/6] fs: API changes to enable extra parameter to return size of type loff_t

2014-11-11 Thread Simon Glass
On 10 November 2014 13:17, Suriyan Ramasami suriya...@gmail.com wrote: The sandbox/ext4/fat/generic fs commands do not gracefully deal with file greater than 2GB. Negative values are returned in such cases. To handle this, the fs functions have been modified to take an additional parameter of

[U-Boot] [PATCH v7 5/6] fs: API changes to enable extra parameter to return size of type loff_t

2014-11-10 Thread Suriyan Ramasami
The sandbox/ext4/fat/generic fs commands do not gracefully deal with file greater than 2GB. Negative values are returned in such cases. To handle this, the fs functions have been modified to take an additional parameter of type * loff_t which is then populated. The return value of the fs