From: NeilBrown Date: Thu, 18 Aug 2005 18:24:16 +0000 (-0700) Subject: [PATCH] md: make sure mddev->bitmap_offset gets cleared between array instantiations. X-Git-Tag: v2.6.13-rc7~59^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9223214e8d757663f366133ba5f9b58aa6b28efb;p=pandora-kernel.git [PATCH] md: make sure mddev->bitmap_offset gets cleared between array instantiations. ... otherwise we might try to load a bitmap from an array which hasn't one. The bug is that if you create an array with an internal bitmap, shut it down, and then create an array with the same md device, the md drive will assume it should have a bitmap too. As the array can be created with a different md device, it is mostly an inconvenience. I'm pretty sure there is no risk of data corruption. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed