diff options
author | Josef Bacik <josef@toxicpanda.com> | 2019-06-20 15:38:04 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 08:59:09 -0400 |
commit | 07730d87ac7872b54efa02da5d20b42fd6bb165a (patch) | |
tree | bc1f9b69ef68cf9fc6eb689820e2d30460c483b3 /fs/btrfs/delalloc-space.c | |
parent | 606d1bf10d7ebafdee26e8896b467b885c5233ec (diff) |
btrfs: migrate the chunk allocation code
This feels more at home in block-group.c than in extent-tree.c.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>i
[ refresh ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delalloc-space.c')
-rw-r--r-- | fs/btrfs/delalloc-space.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/delalloc-space.c b/fs/btrfs/delalloc-space.c index 17f7c0d38768..d2dfc201b2e1 100644 --- a/fs/btrfs/delalloc-space.c +++ b/fs/btrfs/delalloc-space.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include "space-info.h" | 7 | #include "space-info.h" |
8 | #include "transaction.h" | 8 | #include "transaction.h" |
9 | #include "qgroup.h" | 9 | #include "qgroup.h" |
10 | #include "block-group.h" | ||
10 | 11 | ||
11 | int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes) | 12 | int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes) |
12 | { | 13 | { |