[PATCH] md: set the unplug_fn and issue_flush_fn for md devices *after* committed...
authorNeilBrown <neilb@cse.unsw.edu.au>
Tue, 17 May 2005 04:53:16 +0000 (21:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:12 +0000 (07:59 -0700)
commit7a5febe9ffeecd1e78c5b505260ccc1ef18021b4
treef3d61987a3f961f33a77334052805457a2ef2460
parent29ac8e056f2016a8404edc02749d095019aa1f82
[PATCH] md: set the unplug_fn and issue_flush_fn for md devices *after* committed to creation

We we set the too early, they may still be in place and possibly get called
even though the array didn't get set up properly.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/multipath.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
drivers/md/raid6main.c