From: NeilBrown Date: Tue, 22 May 2012 03:55:08 +0000 (+1000) Subject: md/bitmap: centralise allocation of bitmap file pages. X-Git-Tag: v3.5-rc1~110^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27581e5ae01f77b5472dc5c2368b41063fed7f37;p=pandora-kernel.git md/bitmap: centralise allocation of bitmap file pages. Instead of allocating pages in read_sb_page, read_page and bitmap_read_sb, allocate them all in bitmap_init_from disk. Also replace the hack of calling "attach_page_buffers(page, NULL)" to ensure that free_buffer() won't complain, by putting a test for PagePrivate in free_buffer(). Signed-off-by: NeilBrown --- Reading git-diff-tree failed