fs: allocate inode by using alloc_inode_sb()
[sfrench/cifs-2.6.git] / fs / isofs / inode.c
index 0c6eacfcbeef1a5728b7a18d833cc5f6210c46e8..d7491692aea3f412ca3a78f3f0ddabc07420e8ba 100644 (file)
@@ -70,7 +70,7 @@ static struct kmem_cache *isofs_inode_cachep;
 static struct inode *isofs_alloc_inode(struct super_block *sb)
 {
        struct iso_inode_info *ei;
-       ei = kmem_cache_alloc(isofs_inode_cachep, GFP_KERNEL);
+       ei = alloc_inode_sb(sb, isofs_inode_cachep, GFP_KERNEL);
        if (!ei)
                return NULL;
        return &ei->vfs_inode;