Skip to contentSkip to conversation

fs/9p: Replace kcalloc(1, with kzalloc.

PATCH New Panagiotis Issaris 1 participant 1 message Nov 9, 2005 9P file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/9p: Replace kcalloc(1, with kzalloc.

Hi Mr. Van Hensbergen,

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

---

 fs/9p/vfs_super.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: c0c8a05b248582cb02cf7cf28f12b5cbe1ffb154 2b4e5bf2ea05f5d5938925e15961b26b0197be56

fs/9p/vfs_super.c +1 -1
index 82c5b00..7aa2e66 100644
@@ -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