|
@@ -2688,8 +2688,8 @@ static void raid10d(struct md_thread *thread)
|
|
|
}
|
|
|
spin_unlock_irqrestore(&conf->device_lock, flags);
|
|
|
while (!list_empty(&tmp)) {
|
|
|
- r10_bio = list_first_entry(&conf->bio_end_io_list,
|
|
|
- struct r10bio, retry_list);
|
|
|
+ r10_bio = list_first_entry(&tmp, struct r10bio,
|
|
|
+ retry_list);
|
|
|
list_del(&r10_bio->retry_list);
|
|
|
raid_end_bio_io(r10_bio);
|
|
|
}
|