commit | 913339a4b4e0496ac68401e10122cf7d36752982 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Jan 20 22:21:53 2021 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Jan 23 07:56:53 2021 +0100 |
tree | 2f788cffac7b0e107159fefc1133a156dac09c28 | |
parent | d0078c4d9b7c08bde2359ddbd46c443f9ea026cf [diff] |
fs: fat: consistent error handling for flush_dir() Provide function description for flush_dir(). Move all error messages for flush_dir() from the callers to the function. Move mapping of errors to -EIO to the function. Always check return value of flush_dir() (Coverity CID 316362). In fat_unlink() return -EIO if flush_dirty_fat_buffer() fails. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>