md/raid10: fix careless build error

build error introduced by commit b357f04a67

That function doesn't get extra args until a later patch.  Bother.

Reported-by: Fengguang Wu <[email protected]> 
Reported-by: Simon Kirby <[email protected]>
Reported-by: Tobias Klausmann <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
This commit is contained in:
NeilBrown 2012-07-04 09:35:35 +10:00
commit 10684112c9

View file

@ -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)