From: Hugh Dickins Date: Wed, 22 Jun 2005 00:15:10 +0000 (-0700) Subject: [PATCH] get_user_pages: kill get_page_map X-Git-Tag: v2.6.13-rc4~130^2~202^2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08ef472937e918875a82fd350d3de138aac50414;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed