mke2fs: use io_channel_flush() instead of sync() for sync_kludge

Also add support so that sync_kludge can be set via /etc/mke2fs.conf.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2 files changed