reiserfs: Replace kmalloc with kcalloc in the comment
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Fri, 29 May 2020 01:02:30 +0000 (09:02 +0800)
committerJan Kara <jack@suse.cz>
Fri, 29 May 2020 06:51:39 +0000 (08:51 +0200)
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 <liao.pingfang@zte.com.cn>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/reiserfs/inode.c

index 6419e6d..21ad762 100644 (file)
@@ -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
                                 */