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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux