]> git.karo-electronics.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 18:31:55 +0000 (10:31 -0800)
commit85059cfa96a91cbe88ea3b7acb4c255684972cc4
treee011904a63cb3007c16e37c75c394ebf0bfdd7e3
parent69a7da07962ffb3f0c3f20e9876b02838e7cf594
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