Repository navigation
Commit b506335
committed
md/raid10: skip spare disk as 'first' disk
Commit 6f287ca(md/raid10: reset the 'first' at the end of loop) ignores
a case in reshape, the first rdev could be a spare disk, which shouldn't
be accounted as the first disk since it doesn't include the offset info.
Fix: 6f287ca(md/raid10: reset the 'first' at the end of loop)
Cc: Guoqing Jiang <gqjiang@suse.com>
Cc: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>1 parent 43ac9b8 commit b506335
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4079 | 4079 | | |
4080 | 4080 | | |
4081 | 4081 | | |
| 4082 | + | |
4082 | 4083 | | |
4083 | | - | |
4084 | 4084 | | |
4085 | 4085 | | |
4086 | 4086 | | |
| |||
0 commit comments