From: NeilBrown Date: Mon, 26 Jun 2006 07:27:46 +0000 (-0700) Subject: [PATCH] md/bitmap: remove unnecessary page reference manipulations from md/bitmap... X-Git-Tag: v2.6.18-rc1~633 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a647e4bc5ce697e25ff50d2e22de68a581b1ed38;p=pandora-kernel.git [PATCH] md/bitmap: remove unnecessary page reference manipulations from md/bitmap code md/bitmap gets a collection of pages representing the bitmap when it initialises the bitmap, and puts all the references when discarding the bitmap. It also occasionally takes extra references without any good reason, and sometimes drops them ... though it doesn't always drop them, which can result in a memory leak. This patch removes the unnecessary 'get_page' calls, and the corresponding 'put_page' calls. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed