Commit 10684112 authored by NeilBrown's avatar NeilBrown

md/raid10: fix careless build error

build error introduced by commit b357f04a

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

Reported-by: Fengguang Wu <wfg@linux.intel.com> 
Reported-by: default avatarSimon Kirby <sim@hostway.ca>
Reported-by: default avatarTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent b357f04a
...@@ -1394,7 +1394,7 @@ static void make_request(struct mddev *mddev, struct bio * bio) ...@@ -1394,7 +1394,7 @@ static void make_request(struct mddev *mddev, struct bio * bio)
bio_list_add(&conf->pending_bio_list, mbio); bio_list_add(&conf->pending_bio_list, mbio);
conf->pending_count++; conf->pending_count++;
spin_unlock_irqrestore(&conf->device_lock, flags); spin_unlock_irqrestore(&conf->device_lock, flags);
if (!mddev_check_plugged(mddev, 0, 0)) if (!mddev_check_plugged(mddev))
md_wakeup_thread(mddev->thread); md_wakeup_thread(mddev->thread);
if (!r10_bio->devs[i].repl_bio) if (!r10_bio->devs[i].repl_bio)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment