Btrfs: fix wrong mirror number tuning
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 19 Jun 2013 10:20:17 +0000 (18:20 +0800)
committerJosef Bacik <jbacik@fusionio.com>
Tue, 2 Jul 2013 15:50:50 +0000 (11:50 -0400)
Now reading the data from the target device of the replace operation is allowed,
so the mirror number that is greater than the stripes number of a chunk is valid,
we will tune it when we find there is no target device later. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>

No differences found