From: chandan Date: Tue, 16 Jul 2013 06:58:56 +0000 (+0530) Subject: btrfs_read_block_groups: Use enums to index X-Git-Tag: v3.12-rc1~40^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1095cc0d924e1c61fb34e0bfcec049d1fbcca77c;p=pandora-kernel.git 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 Reviewed-by: David Sterba Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed