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/[email protected] Signed-off-by: Liao Pingfang <[email protected]> Signed-off-by: Jan Kara <[email protected]>
1 parent 91a0871 commit 5626de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)