aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorLiao Pingfang <liao.pingfang@zte.com.cn>2020-05-29 09:02:30 +0800
committerJan Kara <jack@suse.cz>2020-05-29 08:51:39 +0200
commit5626de1e96f75cc4bede0743ac994e504e2e7726 (patch)
tree6ad4c798dfb71704fc915a0d2df71cf3b7701732 /fs/reiserfs
parentext2: code cleanup by removing ifdef macro surrounding (diff)
downloadlinux-dev-5626de1e96f75cc4bede0743ac994e504e2e7726.tar.xz
linux-dev-5626de1e96f75cc4bede0743ac994e504e2e7726.zip
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 <liao.pingfang@zte.com.cn> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r--fs/reiserfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c
index 6419e6dacc39..21ad762c9ac6 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
*/