[PATCH] md: clean out unplug and other queue function on md shutdown
authorNeilBrown <neilb@suse.de>
Thu, 1 Mar 2007 04:11:42 +0000 (20:11 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Mar 2007 22:53:36 +0000 (14:53 -0800)
commitd1b5380c7f794da16e815c34e54ee7641db8a288
tree1e9d7752c751898e236d3af695a5221be5634f1a
parent7dd5e7c3dbe8c4ffb507ddc0ea8fab07c8b11b0b
[PATCH] md: clean out unplug and other queue function on md shutdown

The mddev and queue might be used for another array which does not set these,
so they need to be cleared.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/md.c