md: clean up do_md_stop
authorNeilBrown <neilb@suse.de>
Sat, 7 Aug 2010 11:41:19 +0000 (21:41 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 8 Aug 2010 11:22:45 +0000 (21:22 +1000)
There is only one error exit from do_md_stop, so make that more
explicit and discard the 'err' variable.
Also drop the 'revalidate' variable by moving the unlock calls around.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found