Commit 5626de1e authored by Liao Pingfang's avatar Liao Pingfang Committed by Jan Kara

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.cnSigned-off-by: default avatarLiao Pingfang <liao.pingfang@zte.com.cn>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 91a08715
...@@ -1066,7 +1066,7 @@ int reiserfs_get_block(struct inode *inode, sector_t block, ...@@ -1066,7 +1066,7 @@ int reiserfs_get_block(struct inode *inode, sector_t block,
} else { } else {
/* paste hole to the indirect item */ /* 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 * zero and it means we only have space for
* one block * one block
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment