Skip to content

Commit

Permalink
reiserfs: Replace kmalloc with kcalloc in the comment
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Liao Pingfang authored and jankara committed May 29, 2020
1 parent 91a0871 commit 5626de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/reiserfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ int reiserfs_get_block(struct inode *inode, sector_t block,
} 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
*/
Expand Down

0 comments on commit 5626de1

Please sign in to comment.