From: NeilBrown Date: Tue, 3 Jul 2012 23:35:35 +0000 (+1000) Subject: md/raid10: fix careless build error X-Git-Tag: v3.5-rc6~17^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10684112c9d154172ac34e48a2ab68649e8f63ac;p=platform%2Fkernel%2Flinux-exynos.git md/raid10: fix careless build error build error introduced by commit b357f04a67c2aeee8 That function doesn't get extra args until a later patch. Bother. Reported-by: Fengguang Wu Reported-by: Simon Kirby Reported-by: Tobias Klausmann Signed-off-by: NeilBrown --- diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index acf5a828c7e1..8da6282254c3 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c @@ -1394,7 +1394,7 @@ retry_write: bio_list_add(&conf->pending_bio_list, mbio); conf->pending_count++; spin_unlock_irqrestore(&conf->device_lock, flags); - if (!mddev_check_plugged(mddev, 0, 0)) + if (!mddev_check_plugged(mddev)) md_wakeup_thread(mddev->thread); if (!r10_bio->devs[i].repl_bio)