]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/freevxfs/vxfs_super.c
[PATCH] fs: convert kcalloc to kzalloc
[mv-sheeva.git] / fs / freevxfs / vxfs_super.c
index 27f66d3e8a0413091ab58b3f0b85fae788a224fe..6aa6fbe4f8ee9a5397408d59938140e38fa4c084 100644 (file)
@@ -155,7 +155,7 @@ static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent)
 
        sbp->s_flags |= MS_RDONLY;
 
-       infp = kcalloc(1, sizeof(*infp), GFP_KERNEL);
+       infp = kzalloc(sizeof(*infp), GFP_KERNEL);
        if (!infp) {
                printk(KERN_WARNING "vxfs: unable to allocate incore superblock\n");
                return -ENOMEM;