From: NeilBrown Date: Mon, 10 Jul 2006 11:44:14 +0000 (-0700) Subject: [PATCH] md: set desc_nr correctly for version-1 superblocks X-Git-Tag: v2.6.18-rc2~224 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31b65a0d3894566191b91fbadd122c354a363b5d;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed