From: Zhao Lei Date: Tue, 20 Jan 2015 07:11:44 +0000 (+0800) Subject: Btrfs: Introduce BTRFS_BLOCK_GROUP_RAID56_MASK to check raid56 simply X-Git-Tag: fixes-v4.0-rc1~50^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffe2d2034bbb34f49f76c808550fdfbea2ea1659;p=pandora-kernel.git Btrfs: Introduce BTRFS_BLOCK_GROUP_RAID56_MASK to check raid56 simply So we can check raid56 with: (map->type & BTRFS_BLOCK_GROUP_RAID56_MASK) instead of long: (map->type & (BTRFS_BLOCK_GROUP_RAID5 | BTRFS_BLOCK_GROUP_RAID6)) Signed-off-by: Zhao Lei Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed