diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-17 06:26:45 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-20 12:48:42 +0300 |
commit | d1446aa7c64113d0822f9a04326e417d60ae34c2 (patch) | |
tree | 5426de8e59c28efa76a435d4586055e61245fa00 /tests/ubi-tests/common.c | |
parent | d7c961cf40667b81973f75277ad5a386811c163c (diff) |
fs-tests: integck: return error if fsync fails
If 'fsync()' or 'fdatasync()' fail we have to return an error, but we by
mistake were returning 0 (success).
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/common.c')
0 files changed, 0 insertions, 0 deletions