btrfs: migrate the alloc_profile helpers
authorJosef Bacik <josef@toxicpanda.com>
Thu, 20 Jun 2019 19:38:05 +0000 (15:38 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:10 +0000 (14:59 +0200)
commit878d7b679491665997122d6599001538c639cca9
treed9725731f29e73449bf3034b48a9dbf9efd9128c
parent07730d87ac7872b54efa02da5d20b42fd6bb165a
btrfs: migrate the alloc_profile helpers

These feel more at home in block-group.c.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ refresh, adjust btrfs_get_alloc_profile exports ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c
fs/btrfs/block-group.h
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c