Messages in this thread Patch in this message | | | Subject | [PATCH] fs/9p: Replace kcalloc(1, with kzalloc. | Date | Wed, 9 Nov 2005 02:01:36 +0100 (CET) | From | (Panagiotis Issaris) |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |