]> git.hungrycats.org Git - linux/commit
[PATCH] md: Don't do_md_stop and array when do_md_run fails.
authorAndrew Morton <akpm@osdl.org>
Tue, 20 Jan 2004 11:12:35 +0000 (03:12 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 20 Jan 2004 11:12:35 +0000 (03:12 -0800)
commite770288c4a820e86d277314d1c3901da1ce90b19
treebeb62329279c29e4f371ef58631207cb71ca533b
parent87d0aa2ffa968e4c1e58e6a8009012cf98d7beaf
[PATCH] md: Don't do_md_stop and array when do_md_run fails.

From: NeilBrown <neilb@cse.unsw.edu.au>

Current code calls do_md_stop to clean up if do_md_run fails, but this is

a/ not needed as do_md_run cleans up itself

b/ bad as it could try to clean up after an -EBUSY error !!!
drivers/md/md.c