md: factor out init code for an mddev
authorNeilBrown <neilb@suse.de>
Thu, 1 Apr 2010 04:55:30 +0000 (15:55 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:55 +0000 (15:27 +1000)
commitfafd7fb052182e087b5a3c6c408e4ac8c2b5fa14
tree0071eab25a38b69a792fb25c3efffbd98609fc18
parent21a52c6d05c15f862797736393915bfa8cd40ee9
md: factor out init code for an mddev

This is a simple factorisation that makes mddev_find easier to read.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c