Searched refs:main_inode (Results 1 – 2 of 2) sorted by relevance
578 struct inode *main_inode = inode; in hfsplus_cat_write_inode() local584 main_inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_cat_write_inode()586 if (!main_inode->i_nlink) in hfsplus_cat_write_inode()589 if (hfs_find_init(HFSPLUS_SB(main_inode->i_sb)->cat_tree, &fd)) in hfsplus_cat_write_inode()593 if (hfsplus_find_cat(main_inode->i_sb, main_inode->i_ino, &fd)) in hfsplus_cat_write_inode()597 if (S_ISDIR(main_inode->i_mode)) { in hfsplus_cat_write_inode()
423 struct inode *main_inode = inode; in hfs_write_inode() local450 main_inode = HFS_I(inode)->rsrc_inode; in hfs_write_inode()452 if (!main_inode->i_nlink) in hfs_write_inode()455 if (hfs_find_init(HFS_SB(main_inode->i_sb)->cat_tree, &fd)) in hfs_write_inode()460 if (HFS_I(main_inode)->cat_key.CName.len > HFS_NAMELEN) in hfs_write_inode()462 fd.search_key->cat = HFS_I(main_inode)->cat_key; in hfs_write_inode()466 if (S_ISDIR(main_inode->i_mode)) { in hfs_write_inode()