mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
91a087153d
commit
5626de1e96
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue