]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
md/raid10: fix careless build error
authorNeilBrown <neilb@suse.de>
Tue, 3 Jul 2012 23:35:35 +0000 (09:35 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 3 Jul 2012 23:35:35 +0000 (09:35 +1000)
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>
drivers/md/raid10.c

index acf5a828c7e13e45c561ce59030317c3647576cd..8da6282254c3e822a27702c469b9afce720bda43 100644 (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)