summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-06-19 14:20:17 +0400
committerJosef Bacik <jbacik@fusionio.com>2013-07-02 19:50:50 +0400
commita70c6172e714c70439b8321a201635f56a178913 (patch)
tree29dba6f425efa0c349a1aa3b43c296d3eac8e427 /fs/btrfs/volumes.h
parente6da5d2ec9870ddadf4dbc6a1835470636df25bb (diff)
downloadlinux-a70c6172e714c70439b8321a201635f56a178913.tar.xz
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/volumes.h')
0 files changed, 0 insertions, 0 deletions