Btrfs: Online btree defragmentation fixes
[linux-2.6-block.git] / fs / btrfs / super.c
index 726d6871fa13f78133d8fa0ffde50e887d98b16e..5e28cf5c2e85be62f5a90589dddbdce315d16190 100644 (file)
@@ -365,7 +365,6 @@ int btrfs_sync_fs(struct super_block *sb, int wait)
                return 0;
        }
        btrfs_clean_old_snapshots(root);
-       btrfs_defrag_dirty_roots(root->fs_info);
        trans = btrfs_start_transaction(root, 1);
        ret = btrfs_commit_transaction(trans, root);
        sb->s_dirt = 0;