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 commit d9e5b514aa
and commit a03f536f0d.
This commit is contained in:
Richard W.M. Jones
2012-10-10 13:51:54 +01:00
parent 33f49d85c2
commit 7376811983
2 changed files with 0 additions and 12 deletions

View File

@@ -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;
}