md/raid10: split out interpretation of layout to separate function.
authorNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:28:33 +0000 (09:28 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:28:33 +0000 (09:28 +1000)
commitdeb200d08590622d987718135a1e6323f83154aa
tree7baf2fc97e48d229d7a311f55bf0f96ce6e445ba
parentf8c9e74ff0832f2244d7991d2aea13851b20a622
md/raid10: split out interpretation of layout to separate function.

We will soon be interpreting the layout (and chunksize etc) from
multiple places to support reshape.  So split it out into separate
function.

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