mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
dm raid1: fix do_failures
Missing braces. Commit 1f965b1943 (dm raid1: separate region_hash interface
part1) broke it.
Signed-off-by: Ilpo Jarvinen <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Cc: Heinz Mauelshagen <[email protected]>
This commit is contained in:
parent
e946217e4f
commit
b34578a484
1 changed files with 2 additions and 1 deletions
|
|
@ -656,9 +656,10 @@ static void do_failures(struct mirror_set *ms, struct bio_list *failures)
|
|||
return;
|
||||
|
||||
if (!ms->log_failure) {
|
||||
while ((bio = bio_list_pop(failures)))
|
||||
while ((bio = bio_list_pop(failures))) {
|
||||
ms->in_sync = 0;
|
||||
dm_rh_mark_nosync(ms->rh, bio, bio->bi_size, 0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue