summaryrefslogtreecommitdiff
path: root/fs/btrfs/root-tree.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-06-19 18:20:17 +0800
committerJosef Bacik <jbacik@fusionio.com>2013-07-02 11:50:50 -0400
commita70c6172e714c70439b8321a201635f56a178913 (patch)
tree29dba6f425efa0c349a1aa3b43c296d3eac8e427 /fs/btrfs/root-tree.c
parente6da5d2ec9870ddadf4dbc6a1835470636df25bb (diff)
Btrfs: fix wrong mirror number tuning
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>
Diffstat (limited to 'fs/btrfs/root-tree.c')
0 files changed, 0 insertions, 0 deletions