X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fshmem.c;h=bdaecfdaabd4676a61263ad1cb21d26a00f80b49;hb=940cc2df935d00e704c7b8366bdaedda379abf85;hp=4959535fc14c4a7aa3308bb316c4a13a3ba2baa3;hpb=73441c665bee555526b1cf3eef603a0cff0b7e19;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;