mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
sync
This commit is contained in:
parent
018e032f20
commit
41ad07857e
@ -143,6 +143,7 @@ int main(int argc, char **argv)
|
||||
if (pwrite(fd, &sb, sizeof(sb), 4096) != sizeof(sb))
|
||||
goto err;
|
||||
|
||||
fsync(fd);
|
||||
exit(EXIT_SUCCESS);
|
||||
err:
|
||||
perror("write error\n");
|
||||
|
Loading…
Reference in New Issue
Block a user