diff options
author | Hugh Dickins <hugh@veritas.com> | 2006-03-10 01:33:34 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-10 03:47:36 (GMT) |
commit | 85a6cd03a97f04ffff7bfedfa3172894ca9a617b (patch) | |
tree | 6dfcb724b0ed7b2cb9b33c0c18933f0d915bc966 /sound/oss/README.FIRST | |
parent | 6218cf4410cfce7bc7e89834e73525b124625d4c (diff) | |
download | linux-fsl-qoriq-85a6cd03a97f04ffff7bfedfa3172894ca9a617b.tar.xz |
[PATCH] page_add_file_rmap(): remove BUG_ON()s
Remove two early-development BUG_ONs from page_add_file_rmap.
The pfn_valid test (originally useful for checking that nobody passed an
artificial struct page) comes too late, since we already have the struct
page.
The PageAnon test (useful when anon was first distinguished from file rmap)
prevents ->nopage implementations from reusing ->mapping, which would
otherwise be available.
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 'sound/oss/README.FIRST')
0 files changed, 0 insertions, 0 deletions