btrfs-progs: replace BTRFS_NUM_MIRRORS with BTRFS_MAX_MIRRORS
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Wed, 25 Jun 2014 10:04:17 +0000 (18:04 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:43:11 +0000 (14:43 +0200)
commitad70b55b66b516d0d8271a8f16bee7192c556987
tree519852a425c4f237a92960edba8b9a1179a47e6b
parent70e3a85e9e6384f8876a4c1af5910a682786adbb
btrfs-progs: replace BTRFS_NUM_MIRRORS with BTRFS_MAX_MIRRORS

The chunk-recover.c/BTRFS_NUM_MIRRORS in the userspace means
the same thing as ctree.h/BTRFS_MAX_MIRRORS in the kernelspace,
so to stay consistent with the kernelspace, just make this movement
in the userspace:
chunk-recover.c/BTRFS_NUM_MIRRORS
===>
ctree.h/BTRFS_MAX_MIRRORS

This provides convenience for future use.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
chunk-recover.c
ctree.h