From: Liao Pingfang Date: Fri, 29 May 2020 01:02:30 +0000 (+0800) Subject: reiserfs: Replace kmalloc with kcalloc in the comment X-Git-Tag: v5.8-rc1~146^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5626de1e96f75cc4bede0743ac994e504e2e7726;p=thirdparty%2Flinux.git reiserfs: Replace kmalloc with kcalloc in the comment Use kcalloc instead of kmalloc in the comment according to the previous kcalloc() call. Link: https://lore.kernel.org/r/1590714150-15895-1-git-send-email-wang.yi59@zte.com.cn Signed-off-by: Liao Pingfang Signed-off-by: Jan Kara --- diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index 6419e6dacc394..21ad762c9ac6b 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c @@ -1066,7 +1066,7 @@ research: } else { /* paste hole to the indirect item */ /* - * If kmalloc failed, max_to_insert becomes + * If kcalloc failed, max_to_insert becomes * zero and it means we only have space for * one block */