diff options
author | Nick Piggin <npiggin@suse.de> | 2006-09-26 06:31:23 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 15:48:48 (GMT) |
commit | 28e4d965e6131ace1e813e93aebca89ac6b82dc1 (patch) | |
tree | 6c98aa227c5cfdc9fb51ddf53c4497127beb3ca1 /mm/page-writeback.c | |
parent | bfa5bf6d6446f0028187a727f792fbc7934228ad (diff) | |
download | linux-fsl-qoriq-28e4d965e6131ace1e813e93aebca89ac6b82dc1.tar.xz |
[PATCH] mm: remove_mapping() safeness
Some users of remove_mapping had been unsafe.
Modify the remove_mapping precondition to ensure the caller has locked the
page and obtained the correct mapping. Modify callers to ensure the
mapping is the correct one.
[hugh@veritas.com: swapper_space fix]
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions