diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-29 16:06:37 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:00 -0400 |
commit | b3236e68bf86b3ae87f58984a1822369225211cb (patch) | |
tree | a8e1c6caa5abad5b70f81b63bcb165b8f6e9a4ee | |
parent | 6f568d35a045dbb8a13fe71bfc32e85e39a986cb (diff) |
Btrfs: Leave on the tree defragger in mount -o ssd, it still helps there
Signed-off-by: Chris Mason <chris.mason@oracle.com>
-rw-r--r-- | fs/btrfs/tree-defrag.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/tree-defrag.c b/fs/btrfs/tree-defrag.c index 5935cbd8f2b8..5c58630dce03 100644 --- a/fs/btrfs/tree-defrag.c +++ b/fs/btrfs/tree-defrag.c | |||
@@ -179,9 +179,6 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans, | |||
179 | if (root->ref_cows == 0 && !is_extent) | 179 | if (root->ref_cows == 0 && !is_extent) |
180 | goto out; | 180 | goto out; |
181 | 181 | ||
182 | if (btrfs_test_opt(root, SSD)) | ||
183 | goto out; | ||
184 | |||
185 | path = btrfs_alloc_path(); | 182 | path = btrfs_alloc_path(); |
186 | if (!path) | 183 | if (!path) |
187 | return -ENOMEM; | 184 | return -ENOMEM; |