]> git.ipfire.org Git - thirdparty/util-linux.git/commit
linfdisk: cleanup fsync usage
authorKarel Zak <kzak@redhat.com>
Wed, 17 Sep 2014 10:54:05 +0000 (12:54 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 7 Oct 2014 12:55:32 +0000 (14:55 +0200)
commit2aeff7618e3e62b9cea594b2a23ae27b71022a35
tree289b13e4481c2688341119607a4e4ec84c527e1c
parent2e73a998f4e8e5a330b9539d55ff6677a0df9d65
linfdisk: cleanup fsync usage

 * always use fsync() if the device open read-write
 * use sync() on demand

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/context.c