Skip to content
Snippets Groups Projects
Commit d455d878 authored by Suriyan Ramasami's avatar Suriyan Ramasami Committed by Tom Rini
Browse files

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: default avatarSuriyan Ramasami <suriyan.r@gmail.com>
Acked-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
[trini: Update board/gdsys/p1022/controlcenterd-id.c,
drivers/fpga/zynqpl.c for changes]
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent 96b1046d
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment