]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit904062055bfb3cca7c5697d35c5ee14198d1c1ef
treeb7bab39615cb591c7df82d70e3f5ad5dba200e3d
parentae744785a67b5f2ba9ca1d35d481613c0869b246
[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