Home | History | Annotate | Download | only in fsck

Lines Matching full:i_links

367 	u32 i_links = le32_to_cpu(node_blk->i.i_links);
382 if (i_links > 1) {
384 add_into_hard_link_list(sbi, nid, i_links);
388 DBG(3, "[0x%x] has hard links [0x%x]\n", nid, i_links);
390 ASSERT_MSG("[0x%x] needs more i_links=0x%x",
391 nid, i_links);
393 node_blk->i.i_links =
394 cpu_to_le32(i_links + 1);
397 "i_links= 0x%x -> 0x%x",
398 nid, i_links, i_links + 1);
533 if (ftype == F2FS_FT_DIR && i_links != child_cnt) {
534 ASSERT_MSG("ino: 0x%x has i_links: %u but real links: %u",
535 nid, i_links, child_cnt);
537 node_blk->i.i_links = cpu_to_le32(child_cnt);
539 FIX_MSG("Dir: 0x%x i_links= 0x%x -> 0x%x",
540 nid, i_links, child_cnt);
544 if (ftype == F2FS_FT_ORPHAN && i_links)
545 ASSERT_MSG("ino: 0x%x is orphan inode, but has i_links: %u",
546 nid, i_links);