On 2021/6/24 0:04, Jaegeuk Kim wrote:> static void dump_data_blk(struct
f2fs_sb_info *sbi, __u64 offset, u32 blkaddr)
{
char buf[F2FS_BLKSIZE];
+ if (c.show_file_map) {
+ if (c.show_file_map_max_offset < offset) {
+ ASSERT(blkaddr == NULL_ADDR);
+ return;
+ }
+ if (blkaddr == NULL_ADDR || blkaddr == NEW_ADDR ||
+ blkaddr == COMPRESS_ADDR) {
is_valid_data_blkaddr()
@@ -1685,6 +1721,12 @@ int fsck_chk_dentry_blk(struct f2fs_sb_info *sbi, int
casefolded, u32 blk_addr,
ASSERT(ret >= 0);
fsck->dentry_depth++;
+ new_dentry = calloc(sizeof(struct f2fs_dentry), 1);
ASSERT(new_dentry != NULL);
Reviewed-by: Chao Yu <[email protected]>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel