diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2005-09-06 15:18:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:46 -0700 |
commit | e915fc497a8da551f32b7e5fda687eb4a10bc23b (patch) | |
tree | ed501fea1ae915f0f47160aa7c2f1c99cd63e003 /fs/freevxfs/vxfs_super.c | |
parent | 82ca76b6b160b6fce46f78c069f87fe1a4dc0778 (diff) | |
download | op-kernel-dev-e915fc497a8da551f32b7e5fda687eb4a10bc23b.zip op-kernel-dev-e915fc497a8da551f32b7e5fda687eb4a10bc23b.tar.gz |
[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 27f66d3..6aa6fbe 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; |