commit | e84e2e132c9c66d8498e7710d4ea532d1feaaac5 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hugh@veritas.com> | Wed Nov 28 18:55:10 2007 +0000 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Nov 28 11:04:28 2007 -0800 |
tree | f754be23d6b37af04d203eb6e34ac7cdb5f84a4b | |
parent | 9bfb52ad716e74785b2402b7ea17f30e0344b8e8 [diff] |
tmpfs: restore missing clear_highpage 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>