diff options
Diffstat (limited to 'cgpt')
-rw-r--r-- | cgpt/cgpt_common.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cgpt/cgpt_common.c b/cgpt/cgpt_common.c index 8247a5a8..193f2e1e 100644 --- a/cgpt/cgpt_common.c +++ b/cgpt/cgpt_common.c @@ -269,12 +269,7 @@ int DriveClose(struct drive *drive, int update_as_needed) { } } - // Sync early! - fsync(drive->fd); - syncfs(drive->fd); - close(drive->fd); - sync(); if (drive->gpt.primary_header) free(drive->gpt.primary_header); |