Skip to content

Commit 5626de1

Browse files
Liao Pingfangjankara
authored andcommitted
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>
1 parent 91a0871 commit 5626de1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/reiserfs/inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ int reiserfs_get_block(struct inode *inode, sector_t block,
10661066
} else {
10671067
/* paste hole to the indirect item */
10681068
/*
1069-
* If kmalloc failed, max_to_insert becomes
1069+
* If kcalloc failed, max_to_insert becomes
10701070
* zero and it means we only have space for
10711071
* one block
10721072
*/

0 commit comments

Comments
 (0)