summaryrefslogtreecommitdiff
path: root/fectest.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-26 13:26:43 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-29 21:19:58 +0300
commit0b50cbea1801172d2f035b82d5b4f06a23dbd146 (patch)
tree454250cbd45962dcebf6f0b5382c1ec38d8b2387 /fectest.c
parentac3700e3ee7f8cb8429c78afa4f11cfb5cc8cfc5 (diff)
fs-tests: integck: re-structure file_write a little
This is just a preparation - re-structure 'file_write()' to make one "success" return point - we'll add synchronization stuff there. Also, while on it, make it delete the file errored in truncation, not only in write. Also, move the fsync() call to this function because it is common to all write paths. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fectest.c')
0 files changed, 0 insertions, 0 deletions