From: NeilBrown Date: Thu, 2 Feb 2006 22:28:05 +0000 (-0800) Subject: [PATCH] md: Don't remove bitmap from md array when switching to read-only X-Git-Tag: v2.6.16-rc2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=978f946bb628ef228e13aadf4d4255b8727c4fc3;p=pandora-kernel.git [PATCH] md: Don't remove bitmap from md array when switching to read-only While a read-only array doesn't not really need a bitmap, we should not remove the bitmap when switching an array to read-only because a/ There is no code to re-add the bitmap which switching to read-write, b/ There is insufficient locking - the bitmap could be accessed while it is being removed. Cc: Reuben Farrelly Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed