[U-Boot] [U-Boot, v8, 5/6] fs: API changes enabling extra parameter to return size of type loff_t

Tom Rini trini at ti.com
Mon Nov 24 23:12:54 CET 2014


On Mon, Nov 17, 2014 at 02:39:38PM -0800, Suriyan Ramasami wrote:

> The sandbox/ext4/fat/generic fs commands do not gracefully deal with files
> 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 functions are used only for error conditions.
> 
> Signed-off-by: Suriyan Ramasami <suriyan.r at gmail.com>
> 
> Acked-by: Simon Glass <sjg at chromium.org>
> 
> series-changes: 6
> - (Simon) update fs.h with comments for fs_read/fs_write/fs_size

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141124/2242bc61/attachment.pgp>


More information about the U-Boot mailing list