From: Hugh Dickins Date: Tue, 29 Nov 2005 16:55:48 +0000 (+0000) Subject: [PATCH] pfnmap: do_no_page BUG_ON again X-Git-Tag: v2.6.15-rc4~4^2~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=325f04dbca60a4cfe4ac25e7cf246edd07eb4c5f;p=pandora-kernel.git [PATCH] pfnmap: do_no_page BUG_ON again Use copy_user_highpage directly instead of cow_user_page in do_no_page: in the immediately following page_cache_release, and elsewhere, it is assuming that new_page is normal. If any VM_PFNMAP driver can get to do_no_page, it's just a BUG (but not in the case of do_anonymous_page). Signed-off-by: Hugh Dickins Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed