diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-21 17:17:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 19:07:45 -0700 |
commit | aa3163f81654fa057039258e32a6811147bf0c14 (patch) | |
tree | 6b0fc95fc696ebdb1f5acc78df253b6c242de430 /security/Kconfig | |
parent | 77ad4bc706fe6c52ab953f31c287a6af712d080c (diff) | |
download | blackbird-op-linux-aa3163f81654fa057039258e32a6811147bf0c14.tar.gz blackbird-op-linux-aa3163f81654fa057039258e32a6811147bf0c14.zip |
[PATCH] md: don't skip bitmap pages due to lack of bit that we just cleared.
When looking for pages that need cleaning we skip pages that don't have
BITMAP_PAGE_CLEAN set. But if it is the 'current' page we will have cleared
that bit ourselves, so skipping it is wrong. So: move the 'skip this page'
inside 'if page != lastpage'.
Also fold call of file_page_offset into the one place where the value (bit) is
used.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/Kconfig')
0 files changed, 0 insertions, 0 deletions