diff options
author | NeilBrown <neilb@suse.de> | 2012-07-04 01:35:35 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-04 01:35:35 +0200 |
commit | 10684112c9d154172ac34e48a2ab68649e8f63ac (patch) | |
tree | ae3e70c27a6e9cb84220562fba52de3dd79821d1 /drivers/md/raid10.c | |
parent | md: fix up plugging (again). (diff) | |
download | linux-10684112c9d154172ac34e48a2ab68649e8f63ac.tar.xz linux-10684112c9d154172ac34e48a2ab68649e8f63ac.zip |
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 <wfg@linux.intel.com>
Reported-by: Simon Kirby <sim@hostway.ca>
Reported-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to '')
-rw-r--r-- | drivers/md/raid10.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |