]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: fat: write returns error code instead of -1
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 11 Sep 2018 06:59:03 +0000 (15:59 +0900)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:29 +0000 (21:55 +0200)
commitf1149cea160710b8851001454db66e5bb6bcee48
tree85a676274bf200a1ce8838d8f73bd4863b9af391
parent25bb9dab14f4259e2e3a3176e5d5ad17db24c15c
fs: fat: write returns error code instead of -1

It would be good that FAT write function return error code instead of
just returning -1 as fat_read_file() does.
This patch attempts to address this issue although it is 'best effort
(or estimate)' for now.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
fs/fat/fat_write.c