Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3236e68 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Leave on the tree defragger in mount -o ssd, it still helps there

parent 6f568d35
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -179,9 +179,6 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
	if (root->ref_cows == 0 && !is_extent)
		goto out;

	if (btrfs_test_opt(root, SSD))
		goto out;

	path = btrfs_alloc_path();
	if (!path)
		return -ENOMEM;