]> 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)
commitd25cce393e659d3679acfcd58fece91165b5a61b
tree3339ba3503a5bac32c5cf7835a153f73d5eecd06
parent3942a630e83ddd93e994ea6b3ade1aed57d380b9
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