From: NeilBrown Date: Fri, 6 Jan 2006 08:20:16 +0000 (-0800) Subject: [PATCH] md: move bitmap_create to after md array has been initialised X-Git-Tag: v2.6.16-rc1~936^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b15c2e57f0f5bf596a19e9c5571e5b07cdfc7363;p=pandora-kernel.git [PATCH] md: move bitmap_create to after md array has been initialised This is important because bitmap_create uses mddev->resync_max_sectors and that doesn't have a valid value until after the array has been initialised (with pers->run()). [It doesn't make a difference for current personalities that support bitmaps, but will make a difference for raid10] This has the added advantage of meaning with can move the thread->timeout manipulation inside the bitmap.c code instead of sprinkling identical code throughout all personalities. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed