mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-23 17:53:39 +08:00
f2fs-tools: 64-bit compile issue
Signed-off-by: Mark Salyzyn <salyzyn@google.com> Change-Id: I9398b877571d3dabbcb29c87a67d59672ea7fbaa Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
e91da2f664
commit
58edb106a8
@ -8,6 +8,8 @@
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "fsck.h"
|
||||
|
||||
#define BUF_SZ 80
|
||||
@ -57,7 +59,7 @@ void sit_dump(struct f2fs_sb_info *sbi, int start_sit, int end_sit)
|
||||
ASSERT(ret >= 0);
|
||||
|
||||
close(fd);
|
||||
DBG(1, "Blocks [0x%lx] Free Segs [0x%x]\n", valid_blocks, free_segs);
|
||||
DBG(1, "Blocks [0x%" PRIx64 "] Free Segs [0x%x]\n", valid_blocks, free_segs);
|
||||
}
|
||||
|
||||
void ssa_dump(struct f2fs_sb_info *sbi, int start_ssa, int end_ssa)
|
||||
|
@ -355,7 +355,7 @@ int get_valid_checkpoint(struct f2fs_sb_info *sbi)
|
||||
memcpy(sbi->ckpt, cur_page, blk_size);
|
||||
|
||||
if (cp_blks > 1) {
|
||||
int i;
|
||||
unsigned int i;
|
||||
unsigned long long cp_blk_no;
|
||||
|
||||
cp_blk_no = le32_to_cpu(raw_sb->cp_blkaddr);
|
||||
|
Loading…
Reference in New Issue
Block a user