]> git.baikalelectronics.ru Git - kernel.git/commit
shmem: SGP_QUICK and SGP_FAULT redundant
authorHugh Dickins <hugh@veritas.com>
Tue, 5 Feb 2008 06:28:43 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:14 +0000 (09:44 -0800)
commit6b3fe3294aa09b7b99efd61a9625c4dda1f39632
tree2167c058ab0734bbb424ec27b2dc19d58fa7befd
parenta25bab96a89dc9251c7cfdca7d7ce206e892fce1
shmem: SGP_QUICK and SGP_FAULT redundant

Remove SGP_QUICK from the sgp_type enum: it was for shmem_populate and has no
users now.  Remove SGP_FAULT from the enum: SGP_CACHE does just as well (and
shmem_getpage is about to return with page always locked).

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/shmem.c