]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/jffs2/super.c
[PATCH] slab: remove SLAB_KERNEL
[net-next-2.6.git] / fs / jffs2 / super.c
index bc4b8106a49010bf8144bfbe3a0e6532860eacb4..77be534ce4229042529b2dcae4a5d1c7a515487e 100644 (file)
@@ -33,7 +33,7 @@ static kmem_cache_t *jffs2_inode_cachep;
 static struct inode *jffs2_alloc_inode(struct super_block *sb)
 {
        struct jffs2_inode_info *ei;
-       ei = (struct jffs2_inode_info *)kmem_cache_alloc(jffs2_inode_cachep, SLAB_KERNEL);
+       ei = (struct jffs2_inode_info *)kmem_cache_alloc(jffs2_inode_cachep, GFP_KERNEL);
        if (!ei)
                return NULL;
        return &ei->vfs_inode;