]> git.baikalelectronics.ru Git - uboot.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)
commit3a1a71a47bca8de76037ea486db04a3f6bb26ee2
tree85a676274bf200a1ce8838d8f73bd4863b9af391
parent20efac1d5335b0c1481d8128a04e3deeb86383a1
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