]> Git Repo - J-u-boot.git/commit - include/fs.h
fs: API changes enabling extra parameter to return size of type loff_t
authorSuriyan Ramasami <[email protected]>
Mon, 17 Nov 2014 22:39:38 +0000 (14:39 -0800)
committerTom Rini <[email protected]>
Sun, 23 Nov 2014 11:49:04 +0000 (06:49 -0500)
commitd455d8789d5b35a39a0a179b3af4b423db13bfdd
tree751a2fa1db26cd7b6666bdf96cafc17db310e2b7
parent96b1046d1c68352677aa888cc110951a68daf155
fs: API changes enabling extra parameter to return size of type loff_t

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 <[email protected]>
Acked-by: Simon Glass <[email protected]>
[trini: Update board/gdsys/p1022/controlcenterd-id.c,
drivers/fpga/zynqpl.c for changes]
Signed-off-by: Tom Rini <[email protected]>
board/gdsys/p1022/controlcenterd-id.c
common/cmd_fs.c
drivers/fpga/zynqpl.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
This page took 0.032106 seconds and 4 git commands to generate.