diff options
| author | 2021-11-05 16:45:40 -0400 | |
|---|---|---|
| committer | 2022-01-03 15:09:48 +0100 | |
| commit | 3478c732520a01561bb49f8c5d469f02419fd922 (patch) | |
| tree | d51c87c19be00d0b4238a2b68e07cb4af0f4037b /fs/btrfs/backref.c | |
| parent | btrfs: do not special case the extent root for switch commit roots (diff) | |
| download | linux-dev-3478c732520a01561bb49f8c5d469f02419fd922.tar.xz linux-dev-3478c732520a01561bb49f8c5d469f02419fd922.zip | |
btrfs: remove unnecessary extent root check in btrfs_defrag_leaves
We only defrag leaves on roots that have SHAREABLE set, so we don't need
to check if we're the extent root as it doesn't have SHAREABLE set.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions
