mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-05 08:51:31 +01:00
Merge "fs/fat/fat_write: Fix return value on flush_fat_buffer() failure"
This commit is contained in:
commit
879bea3b41
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ static __u32 get_fatent_value(fsdata *mydata, __u32 entry)
|
|||
/* Write back the fatbuf to the disk */
|
||||
if (mydata->fatbufnum != -1) {
|
||||
if (flush_fat_buffer(mydata) < 0)
|
||||
return -1;
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (disk_read(startblock, getsize, bufptr) < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue