Btrfs: make raid attr array more readable
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 17 Jan 2013 05:38:51 +0000 (05:38 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:37:19 +0000 (09:37 -0500)
commite6ec716f0ddbe51741ef261d0804f0c28038dda4
tree3339ba3503a5bac32c5cf7835a153f73d5eecd06
parenta1897fddd28daf6b23d05a30dc2a18836f77f8e3
Btrfs: make raid attr array more readable

The current code of raid attr arry is hard to understand and it is easy to
introduce some problem if we modify the array. So I changed it and made it
more readable.

Cc: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/volumes.c