diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-06-22 00:15:10 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-22 01:46:21 (GMT) |
commit | 08ef472937e918875a82fd350d3de138aac50414 (patch) | |
tree | 990a503a711b82f94ad78ea5794a46992db05228 /fs/romfs | |
parent | 7c2f3fda5666c280bcd00ac3b86963270b23e796 (diff) | |
download | linux-08ef472937e918875a82fd350d3de138aac50414.tar.xz |
[PATCH] get_user_pages: kill get_page_map
Since its birth, get_user_pages has been calling a misguided get_page_map
function. follow_page has already returned NULL if the pfn is invalid, we
cannot reach an invalid pfn from a validated struct page.
Remove get_page_map, and the messy rewind in get_user_pages to cope with
its failure. Oh, and could we please call that "struct page *page" like
everywhere else, instead of "struct page *map"?
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 'fs/romfs')
0 files changed, 0 insertions, 0 deletions