From: NeilBrown Date: Mon, 26 Jun 2006 07:27:43 +0000 (-0700) Subject: [PATCH] md/bitmap: fix online removal of file-backed bitmaps X-Git-Tag: v2.6.18-rc1~637 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7375ab324971e7acbea9f02a0269ae7348f4147;p=pandora-kernel.git [PATCH] md/bitmap: fix online removal of file-backed bitmaps When "mdadm --grow /dev/mdX --bitmap=none" is used to remove a filebacked bitmap, the bitmap was disconnected from the array, but the file wasn't closed (until the array was stopped). The file also wasn't closed if adding the bitmap file failed. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed