# \[PATCH 0/2\] Fix two bugs about forgetting to assigne to some parameters if read\_seqretry returned true.

- From: majianpeng \<hidden\>
- Date: 2012-11-06 09:11:29 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2012/11/6622240
- Thread: https://ratatoskr.run/linux-raid/2012/11/6622240/t.md

```text
There are two bugs about how to deal with parameter if read_seqretry returned true.
For bug1,because it wrote invalid address,so it will produce a variety of different
phenomena serious problems.

Jianpeng Ma (2):
  md: Avoid write invalid address if read_seqretry returned true.
  md: Reassigned the parameters if read_seqretry returned true in func 
       md_is_badblock.

 drivers/md/md.c |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

-- 
1.7.9.5
```
