diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-01-20 15:11:31 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-01-21 18:06:47 -0800 |
commit | e34c330d639177bbb345bf2bde16613b00cc6e6b (patch) | |
tree | d08a3f23ae3609cba9fca83b22943c7a04032349 /sound | |
parent | df8d116ffa379f3ef09d7ff28da0f0c921cc9fa1 (diff) |
Btrfs: fix a out-of-bound access of raid_map
We add the number of stripes on target devices into bbio->num_stripes
if we are under device replacement, and we just sort the raid_map of
those stripes that not on the target devices, so if when we need
real raid_map, we need skip the stripes on the target devices.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions