diff options
author | NeilBrown <neilb@suse.de> | 2006-06-26 00:27:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:38 -0700 |
commit | a647e4bc5ce697e25ff50d2e22de68a581b1ed38 (patch) | |
tree | 465559f3786e7b5b10bf1ff58a63e198c95c8879 /include/asm-sh64/sections.h | |
parent | e16b68b6e456a61b895a198baf5aa473cf2a32bf (diff) |
[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 <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh64/sections.h')
0 files changed, 0 insertions, 0 deletions