diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 4959535fc14c..bdaecfdaabd4 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2263,7 +2263,7 @@ static struct kmem_cache *shmem_inode_cachep; | |||
2263 | static struct inode *shmem_alloc_inode(struct super_block *sb) | 2263 | static struct inode *shmem_alloc_inode(struct super_block *sb) |
2264 | { | 2264 | { |
2265 | struct shmem_inode_info *p; | 2265 | struct shmem_inode_info *p; |
2266 | p = (struct shmem_inode_info *)kmem_cache_alloc(shmem_inode_cachep, SLAB_KERNEL); | 2266 | p = (struct shmem_inode_info *)kmem_cache_alloc(shmem_inode_cachep, GFP_KERNEL); |
2267 | if (!p) | 2267 | if (!p) |
2268 | return NULL; | 2268 | return NULL; |
2269 | return &p->vfs_inode; | 2269 | return &p->vfs_inode; |