]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: handle all failures in operate_on_open_file
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 18 Apr 2011 06:50:30 +0000 (09:50 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 22 Apr 2011 11:29:51 +0000 (14:29 +0300)
commit6254515b631a4f7ca21c1ef26b0749388086faa9
tree7cdd0a949eebf1e4f34d0f909f95bf8921ce2a31
parentfc1c0f7d52bc4dab130a74fea383629c7a341f14
fs-tests: integck: handle all failures in operate_on_open_file

Make 'operate_on_open_file()' to handle possible 'fsync()' and 'fdatasync()'
errors by returning -1 up to the caller.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/fs-tests/integrity/integck.c