Synced the created image before remounting in ntfsclone

Better sync before remounting, but probably not an error
edge.strict_endians
Jean-Pierre André 2011-03-23 08:59:49 +01:00
parent e8dc824252
commit c6da530efc
1 changed files with 1 additions and 0 deletions

View File

@ -1930,6 +1930,7 @@ int main(int argc, char **argv)
}
wipe = 1;
fsync_clone(fd_out); /* sync copy before mounting */
opt.volume = opt.output;
/* 'force' again mount for dirty volumes (e.g. after resize).
FIXME: use mount flags to avoid potential side-effects in future */