]> err.no Git - linux-2.6/commit
[PATCH] md: set desc_nr correctly for version-1 superblocks
authorNeilBrown <neilb@suse.de>
Mon, 10 Jul 2006 11:44:14 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:16 +0000 (13:24 -0700)
commit31b65a0d3894566191b91fbadd122c354a363b5d
tree42836c0798c1a85d7bf1551a22293476cb70601e
parentf4370781d83cd2e52eb515e4663155e8091e4d4e
[PATCH] md: set desc_nr correctly for version-1 superblocks

This has to be done in ->load_super, not ->validate_super

Without this, hot-adding devices to an array doesn't always
work right - though there is a work around in mdadm-2.5.2 to
make this less of an issue.

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