mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Revert "btrfs: Add a workaround for btrfs failures seen with kernel 3.7.0."
Revert "btrfs: Add an extended workaround for btrfs failures seen with kernel 3.7.0." Reverted these workaround, since we may have found a fix for the btrfs bug itself (for details see RHBZ#863978). This reverts commitd9e5b514aaand commita03f536f0d.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user