diff options
author | chandan <chandan@linux.vnet.ibm.com> | 2013-07-16 08:58:56 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-01 13:57:38 +0200 |
commit | 1095cc0d924e1c61fb34e0bfcec049d1fbcca77c (patch) | |
tree | d90cde159b3d0819d4628ceda70f1fee06eb4236 /fs/btrfs/delayed-ref.c | |
parent | btrfs: Cleanup for using BTRFS_SETGET_STACK instead of raw convert (diff) | |
download | linux-1095cc0d924e1c61fb34e0bfcec049d1fbcca77c.tar.xz linux-1095cc0d924e1c61fb34e0bfcec049d1fbcca77c.zip |
btrfs_read_block_groups: Use enums to index
btrfs_space_info->block_groups.
The current code uses integer literals to index
btrfs_space_info->block_groups[] array. Instead use corresponding
enums from 'enum btrfs_raid_types'.
Signed-off-by: chandan <chandan@linux.vnet.ibm.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/delayed-ref.c')
0 files changed, 0 insertions, 0 deletions