summaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-09-15 16:08:08 +0300
committerDavid Sterba <dsterba@suse.com>2015-10-21 19:28:48 +0300
commit9c170b2644610a62b107c12a007e065d4456798d (patch)
tree3c041e94ba9021168868ebfa80d221cd501182d8 /fs/btrfs/file.c
parent8789f4fe608922f484369382a8e507ca12df7f4e (diff)
downloadlinux-9c170b2644610a62b107c12a007e065d4456798d.tar.xz
btrfs: use btrfs_raid_array in btrfs_reduce_alloc_profile
btrfs_raid_array[] holds attributes of all raid types. Use btrfs_raid_array[].devs_min is best way for request in btrfs_reduce_alloc_profile(), instead of use complex condition of each raid types. Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions