From: Ilpo Jarvinen Date: Thu, 30 Oct 2008 13:33:07 +0000 (+0000) Subject: dm raid1: fix do_failures X-Git-Tag: v2.6.28-rc3~40^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b34578a48459ed1bd5396631aaa4a65d6bcc7726;p=linux-2.6-omap-h63xx.git dm raid1: fix do_failures Missing braces. Commit 1f965b1943 (dm raid1: separate region_hash interface part1) broke it. Signed-off-by: Ilpo Jarvinen Signed-off-by: Alasdair G Kergon Cc: Heinz Mauelshagen --- diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index 92dcc06832a..9d7b53ed75b 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c @@ -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; }