OSDN Git Service

Fix return codes from exfat_close() and exfat_fsync().
authorrelan <relan@users.noreply.github.com>
Fri, 23 Aug 2013 05:56:00 +0000 (05:56 +0000)
committerrelan <relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:16 +0000 (08:26 +0300)
commit554da3758f6e2c131d4790ceacf4edb30c3a43b9
tree23c3f08a043bff42fb51742cf20188181e8418be
parent8f3a4bd634d73b568cd7bd2b3aba208b785cd111
Fix return codes from exfat_close() and exfat_fsync().

Return -EIO on error instead of 1. Also do fsync() after ublio_fsync():
ublio_fsync() does not flush changes to the disk, just writes them.
libexfat/io.c