summaryrefslogtreecommitdiff
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-22 13:37:56 +0300
committerDavid Sterba <dsterba@suse.com>2023-10-12 17:44:13 +0300
commit1723270f0c29cc27dbe9e554a3f35abd2e4eb945 (patch)
tree402d7d5ecc50003721ed7edd395299aacf656605 /fs/btrfs/relocation.c
parent8befc61cbba2d4567122d400542da8900a352971 (diff)
downloadlinux-1723270f0c29cc27dbe9e554a3f35abd2e4eb945.tar.xz
btrfs: move btrfs_defrag_root() to defrag.{c,h}
The btrfs_defrag_root() function does not really belong in the transaction.{c,h} module and as we have a defrag.{c,h} nowadays, move it to there instead. This also allows to stop exporting btrfs_defrag_leaves(), so we can make it static. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> [ rename info to fs_info for consistency ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions