Skip to content
Commit 8c3e6b1f authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: btrfs_defrag_root() doesn't defrag extent root tree



Since btrfs_defrag_leaves() does not support extent_root, remove its
corresponding call. The user can use the file based defrag to defrag
extents as of now.

No change in behaviour as extent_root is explicitly skipped in
btrfs_defrag_leaves and this has never worked as expected.

Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
[ ehnance changelong ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent fef394f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment