md: fix up raid1/raid10 unplugging.
authorNeilBrown <neilb@suse.de>
Mon, 18 Apr 2011 08:25:43 +0000 (18:25 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 18 Apr 2011 08:25:43 +0000 (18:25 +1000)
commitc3b328ac846bcf6b9a62c5563380a81ab723006d
treef9b78651beec3d66cf2ab7cf7a8080fa1cfe5b99
parent7c13edc87510f665da3094174e1fd633e06649f4
md: fix up raid1/raid10 unplugging.

We just need to make sure that an unplug event wakes up the md
thread, which is exactly what mddev_check_plugged does.

Also remove some plug-related code that is no longer needed.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
drivers/md/raid10.c