summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/btrfs.c5
-rw-r--r--daemon/mkfs.c7
2 files changed, 0 insertions, 12 deletions
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 8b80475e..8ecde019 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -204,11 +204,6 @@ do_mkfs_btrfs (char *const *devices,
return -1;
}
- /* Workaround for RHBZ#863978, possibly in kernel 3.7.0. Can be
- * fixed when we work out what's going on upstream.
- */
- sync_disks ();
-
free (err);
return 0;
}
diff --git a/daemon/mkfs.c b/daemon/mkfs.c
index d472450e..4b2ea10b 100644
--- a/daemon/mkfs.c
+++ b/daemon/mkfs.c
@@ -192,13 +192,6 @@ do_mkfs (const char *fstype, const char *device, int blocksize,
}
free (err);
-
- /* Workaround for RHBZ#863978, possibly in kernel 3.7.0. Can be
- * fixed when we work out what's going on upstream.
- */
- if (STREQ (fstype, "btrfs"))
- sync_disks ();
-
return 0;
}