md: always update level / chunk_size / layout when writing v1.x metadata.
authorNeilBrown <neilb@suse.de>
Mon, 25 May 2009 23:40:59 +0000 (09:40 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 25 May 2009 23:40:59 +0000 (09:40 +1000)
commit62e1e389f87a8839ad83b08c44691d1df8320846
treed8915df95d7164188334052b31ffe7ac40aa4e94
parent59a3759d0fe8d969888c741bb33f4946e4d3750d
md: always update level / chunk_size / layout when writing v1.x metadata.

We previously didn't update these fields when writing the metadata
because they could never change.  They can now, so we better write
them.
v0.90 metadata always updated these fields.

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