summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2020-02-25 12:56:10 +0900
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:48 +0100
commit4f2bafe8a49e5f5e5cf821117ddd6b868c7dc0e7 (patch)
tree5dde834ecd4cdf366ae0e3f426af4de7daaf1044 /kernel
parent3b4ffa4088404446edfffd9cd8673c7826e76530 (diff)
downloadlinux-stable-4f2bafe8a49e5f5e5cf821117ddd6b868c7dc0e7.tar.gz
linux-stable-4f2bafe8a49e5f5e5cf821117ddd6b868c7dc0e7.tar.bz2
linux-stable-4f2bafe8a49e5f5e5cf821117ddd6b868c7dc0e7.zip
btrfs: introduce alloc_chunk_ctl
Introduce "struct alloc_chunk_ctl" to wrap needed parameters for the chunk allocation. This will be used to split __btrfs_alloc_chunk() into smaller functions. This commit folds a number of local variables in __btrfs_alloc_chunk() into one "struct alloc_chunk_ctl ctl". There is no functional change. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions