summaryrefslogtreecommitdiffstats
path: root/kernel/fs/minix/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/minix/inode.c')
-rw-r--r--kernel/fs/minix/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/minix/inode.c b/kernel/fs/minix/inode.c
index 1182d1e26..086cd0a61 100644
--- a/kernel/fs/minix/inode.c
+++ b/kernel/fs/minix/inode.c
@@ -62,7 +62,7 @@ static struct kmem_cache * minix_inode_cachep;
static struct inode *minix_alloc_inode(struct super_block *sb)
{
struct minix_inode_info *ei;
- ei = (struct minix_inode_info *)kmem_cache_alloc(minix_inode_cachep, GFP_KERNEL);
+ ei = kmem_cache_alloc(minix_inode_cachep, GFP_KERNEL);
if (!ei)
return NULL;
return &ei->vfs_inode;