[PATCH] md: clear the congested_fn when stopping a raid5
authorNeilBrown <neilb@suse.de>
Tue, 27 Mar 2007 05:32:14 +0000 (21:32 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 27 Mar 2007 16:05:14 +0000 (09:05 -0700)
commit041ae52e265fc432ea5525b1c66720385c2d11f0
treeb7bab39615cb591c7df82d70e3f5ad5dba200e3d
parent3d37890baa4ca962f8a6b77525b8f3d0698eee09
[PATCH] md: clear the congested_fn when stopping a raid5

If this mddev and queue got reused for another array that doesn't register a
congested_fn, this function would get called incorretly.

Signed-off-by: Neil Brown <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
drivers/md/raid5.c