commit | ffe2d2034bbb34f49f76c808550fdfbea2ea1659 | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Tue Jan 20 15:11:44 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jan 21 18:06:49 2015 -0800 |
tree | e77f446b2628d80cff892f604da7ffa292e892ee | |
parent | 10f11900167a83e0c229c4c27e73e720ebd55b5c [diff] |
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 <zhaolei@cn.fujitsu.com> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>