]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (gpt) cleanup and consolidate write code
authorKarel Zak <kzak@redhat.com>
Fri, 31 Jan 2020 10:29:12 +0000 (11:29 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Feb 2020 13:15:23 +0000 (14:15 +0100)
commitafb27a8e4c311e621f9258f6e415fb8266fbd88f
tree99327210dbb43a9b1d325c7dabf30df4a42f6591
parentf1970cc557907a047da12202cf435ce03ca7b931
libfdisk: (gpt) cleanup and consolidate write code

- add fsync after write
- use write_all()
- use the same code for all write steps

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