|
@@ -242,7 +242,7 @@ static struct kmem_cache *adfs_inode_cachep;
|
|
static struct inode *adfs_alloc_inode(struct super_block *sb)
|
|
static struct inode *adfs_alloc_inode(struct super_block *sb)
|
|
{
|
|
{
|
|
struct adfs_inode_info *ei;
|
|
struct adfs_inode_info *ei;
|
|
- ei = (struct adfs_inode_info *)kmem_cache_alloc(adfs_inode_cachep, GFP_KERNEL);
|
|
|
|
|
|
+ ei = kmem_cache_alloc(adfs_inode_cachep, GFP_KERNEL);
|
|
if (!ei)
|
|
if (!ei)
|
|
return NULL;
|
|
return NULL;
|
|
return &ei->vfs_inode;
|
|
return &ei->vfs_inode;
|