Max Reitz 731de38052 block/raw-posix: Only sync after successful preallocation
The loop which filled the file with zeroes may have been left early due
to an error. In that case, the fsync() should be skipped.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-11-18 12:09:00 +01:00
..
2014-11-03 11:41:48 +00:00
2014-11-03 18:34:09 +00:00
2014-10-20 13:41:26 +02:00
2014-11-03 11:41:47 +00:00
2014-08-15 15:07:14 +02:00
2014-08-15 15:07:14 +02:00