]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tmpfs: restore missing clear_highpage
authorHugh Dickins <hugh@veritas.com>
Wed, 28 Nov 2007 18:55:10 +0000 (18:55 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Dec 2007 17:50:53 +0000 (09:50 -0800)
commit831ac1f2cd32ee3271cca477705f823947233ec3
tree1cde79eb3953dd3e5d6ed3921ce4ee0422c804f8
parentd57b4ae3d48871e50eef320a12bd3698a67f4eed
tmpfs: restore missing clear_highpage

patch e84e2e132c9c66d8498e7710d4ea532d1feaaac5 in mainline

tmpfs was misconverted to __GFP_ZERO in 2.6.11.  There's an unusual case in
which shmem_getpage receives the page from its caller instead of allocating.
We must cover this case by clear_highpage before SetPageUptodate, as before.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/shmem.c