mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
f2fs: sync upstream for avoid gcc warning
fs/f2fs/inode.c: In function 'sanity_check_inode':
warning: format '%lu' expects argument of type 'long unsigned int',
but argument 6 has type 'blkcnt_t {aka long long unsigned int}'
Change-Id: Ibc600242dbdc600dd31111b5ba1413c329e26c5e
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -301,10 +301,10 @@ static bool sanity_check_inode(struct inode *inode, struct page *node_page)
|
||||
if (le64_to_cpu(ri->i_compr_blocks) >
|
||||
SECTOR_TO_BLOCK(inode->i_blocks)) {
|
||||
f2fs_warn(sbi, "%s: inode (ino=%lx) has inconsistent "
|
||||
"i_compr_blocks:%llu, i_blocks:%lu, run fsck to fix",
|
||||
"i_compr_blocks:%llu, i_blocks:%llu, run fsck to fix",
|
||||
__func__, inode->i_ino,
|
||||
le64_to_cpu(ri->i_compr_blocks),
|
||||
SECTOR_TO_BLOCK(inode->i_blocks));
|
||||
(u64)SECTOR_TO_BLOCK(inode->i_blocks));
|
||||
return false;
|
||||
}
|
||||
if (ri->i_log_cluster_size < MIN_COMPRESS_LOG_SIZE ||
|
||||
|
||||
Reference in New Issue
Block a user