* [PATCH] fs/9p: Replace kcalloc(1, with kzalloc.
@ 2005-11-09 1:01 Panagiotis Issaris
0 siblings, 0 replies; only message in thread
From: Panagiotis Issaris @ 2005-11-09 1:01 UTC (permalink / raw)
To: ericvh; +Cc: linux-kernel
Hi Mr. Van Hensbergen,
This patch replaces one occurrence of kcalloc(1, with kzalloc.
Signed-off-by: Panagiotis Issaris <takis@issaris.org>
---
fs/9p/vfs_super.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
applies-to: c0c8a05b248582cb02cf7cf28f12b5cbe1ffb154
2b4e5bf2ea05f5d5938925e15961b26b0197be56
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 82c5b00..7aa2e66 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -123,7 +123,7 @@ static struct super_block *v9fs_get_sb(s
dprintk(DEBUG_VFS, " \n");
- v9ses = kcalloc(1, sizeof(struct v9fs_session_info), GFP_KERNEL);
+ v9ses = kzalloc(sizeof(struct v9fs_session_info), GFP_KERNEL);
if (!v9ses)
return ERR_PTR(-ENOMEM);
---
0.99.9.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-09 1:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-09 1:01 [PATCH] fs/9p: Replace kcalloc(1, with kzalloc Panagiotis Issaris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®