
From: Neil Brown <neilb@cse.unsw.edu.au>

I was a bit over-enthusiasitic with on of the patches that I recently
submitted.  This call the do_md_stop really is needed after all.



---

 drivers/md/md.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -puN drivers/md/md.c~md-06-do_md_run-fix-fix drivers/md/md.c
--- 25/drivers/md/md.c~md-06-do_md_run-fix-fix	2004-01-19 13:33:13.000000000 -0800
+++ 25-akpm/drivers/md/md.c	2004-01-19 13:33:16.000000000 -0800
@@ -1766,8 +1766,10 @@ static void autorun_array(mddev_t *mddev
 	printk("\n");
 
 	err = do_md_run (mddev);
-	if (err)
+	if (err) {
 		printk(KERN_WARNING "md :do_md_run() returned %d\n", err);
+		do_md_stop(mddev, 0);
+	}
 }
 
 /*

_
