summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-10-17 00:09:36 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-17 08:18:43 -0700
commita649fd9271773dd0f78e2b9f347bcceecb8827f9 (patch)
tree59b29ffef77a2c5cce233393848c13354f02c0f2 /init
parent5eb30790d4ccd3409240a80eaf9ab76b4fb75fd8 (diff)
downloadop-kernel-dev-a649fd9271773dd0f78e2b9f347bcceecb8827f9.zip
op-kernel-dev-a649fd9271773dd0f78e2b9f347bcceecb8827f9.tar.gz
[PATCH] invalidate: remove_mapping() fix
If remove_mapping() failed to remove the page from its mapping, don't go and mark it not uptodate! Makes kernel go dead. (Actually, I don't think the ClearPageUptodate is needed there at all). Says Nick Piggin: "Right, it isn't needed because at this point the page is guaranteed by remove_mapping to have no references (except us) and cannot pick up any new ones because it is removed from pagecache. We can delete it." Signed-off-by: Andrew Morton <akpm@osdl.org> Acked-by: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud