]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57af0d68feccf8367b6a6bb074e325fe31406e3f
tree3339ba3503a5bac32c5cf7835a153f73d5eecd06
parentf14f8445a56b31c92a214cca5a5575a9ae17f33c
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