diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2005-09-07 00:18:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-08 01:57:46 +0200 |
commit | e915fc497a8da551f32b7e5fda687eb4a10bc23b (patch) | |
tree | ed501fea1ae915f0f47160aa7c2f1c99cd63e003 /fs/freevxfs/vxfs_super.c | |
parent | [PATCH] drivers: convert kcalloc to kzalloc (diff) | |
download | linux-e915fc497a8da551f32b7e5fda687eb4a10bc23b.tar.xz linux-e915fc497a8da551f32b7e5fda687eb4a10bc23b.zip |
[PATCH] fs: convert kcalloc to kzalloc
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/freevxfs/vxfs_super.c')
-rw-r--r-- | fs/freevxfs/vxfs_super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c index 27f66d3e8a04..6aa6fbe4f8ee 100644 --- a/fs/freevxfs/vxfs_super.c +++ b/fs/freevxfs/vxfs_super.c @@ -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; |