[PATCH] md: Make sure array geometry changes persist with version-1 superblocks
authorNeilBrown <neilb@suse.de>
Thu, 2 Feb 2006 22:28:04 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 2 Feb 2006 23:07:11 +0000 (15:07 -0800)
commitf0ca340cd20b350eab8288974e9a6077900846e8
treec438cf3fc472ae1fb22a64cede2e192a72cb97d6
parent6d89332b776fc11bac0073209e44ec8f39831e4e
[PATCH] md: Make sure array geometry changes persist with version-1 superblocks

super_1_sync only updates fields in the superblock that might have changed.

'raid_disks' and 'size' could have changed, but this information doesn't get
updated....  until this patch.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c