diff options
Diffstat (limited to 'fs/coda')
-rw-r--r-- | fs/coda/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c index 5ea57c8c7f97..1a49c1708a54 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c | |||
@@ -45,7 +45,7 @@ static struct kmem_cache * coda_inode_cachep; | |||
45 | static struct inode *coda_alloc_inode(struct super_block *sb) | 45 | static struct inode *coda_alloc_inode(struct super_block *sb) |
46 | { | 46 | { |
47 | struct coda_inode_info *ei; | 47 | struct coda_inode_info *ei; |
48 | ei = (struct coda_inode_info *)kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL); | 48 | ei = kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL); |
49 | if (!ei) | 49 | if (!ei) |
50 | return NULL; | 50 | return NULL; |
51 | memset(&ei->c_fid, 0, sizeof(struct CodaFid)); | 51 | memset(&ei->c_fid, 0, sizeof(struct CodaFid)); |