Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
这个提交包含在:
@@ -29,12 +29,12 @@
|
||||
|
||||
static void jffs2_put_super(struct super_block *);
|
||||
|
||||
static kmem_cache_t *jffs2_inode_cachep;
|
||||
static struct kmem_cache *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;
|
||||
@@ -45,7 +45,7 @@ static void jffs2_destroy_inode(struct inode *inode)
|
||||
kmem_cache_free(jffs2_inode_cachep, JFFS2_INODE_INFO(inode));
|
||||
}
|
||||
|
||||
static void jffs2_i_init_once(void * foo, kmem_cache_t * cachep, unsigned long flags)
|
||||
static void jffs2_i_init_once(void * foo, struct kmem_cache * cachep, unsigned long flags)
|
||||
{
|
||||
struct jffs2_inode_info *ei = (struct jffs2_inode_info *) foo;
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户