[PATCH] md: clear the 'recovery' flags when starting an md array.
authorNeilBrown <neilb@cse.unsw.edu.au>
Sat, 27 Aug 2005 01:34:16 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 27 Aug 2005 02:37:13 +0000 (19:37 -0700)
commit657390d25d4241705cb4fc5b3b4ba5b30575dc17
tree35b09cbecef683302adaddb9e8f7047462e7a848
parent72008652dae7d10fa668d7b2ada3bddff7403d86
[PATCH] md: clear the 'recovery' flags when starting an md array.

It's possible for this to still have flags in it and a previous instance
has been stopped, and that confused the new array using the same mddev.

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/md.c