]> err.no Git - linux-2.6/blobdiff - mm/shmem.c
[PATCH] make 1-bit bitfields unsigned
[linux-2.6] / mm / shmem.c
index 4959535fc14c4a7aa3308bb316c4a13a3ba2baa3..bdaecfdaabd4676a61263ad1cb21d26a00f80b49 100644 (file)
@@ -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;