X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fshmem.c;h=bdaecfdaabd4676a61263ad1cb21d26a00f80b49;hb=33f2ef89f8e181486b63fdbdc97c6afa6ca9f34b;hp=4959535fc14c4a7aa3308bb316c4a13a3ba2baa3;hpb=2e11665c5ea436e2fc2cfecbfc6dbfb8d420af29;p=linux-2.6 diff --git a/mm/shmem.c b/mm/shmem.c index 4959535fc1..bdaecfdaab 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -2263,7 +2263,7 @@ static struct kmem_cache *shmem_inode_cachep; static struct inode *shmem_alloc_inode(struct super_block *sb) { struct shmem_inode_info *p; - p = (struct shmem_inode_info *)kmem_cache_alloc(shmem_inode_cachep, SLAB_KERNEL); + p = (struct shmem_inode_info *)kmem_cache_alloc(shmem_inode_cachep, GFP_KERNEL); if (!p) return NULL; return &p->vfs_inode;