2005-11-09 01:02:18

by takis

[permalink] [raw]
Subject: [PATCH] fs/9p: Replace kcalloc(1, with kzalloc.

Hi Mr. Van Hensbergen,

This patch replaces one occurrence of kcalloc(1, with kzalloc.

Signed-off-by: Panagiotis Issaris <[email protected]>

---

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