Searched refs:main_inode (Results 1 – 2 of 2) sorted by relevance
425 struct inode *main_inode = inode; in hfs_write_inode() local452 main_inode = HFS_I(inode)->rsrc_inode; in hfs_write_inode()454 if (!main_inode->i_nlink) in hfs_write_inode()457 if (hfs_find_init(HFS_SB(main_inode->i_sb)->cat_tree, &fd)) in hfs_write_inode()462 if (HFS_I(main_inode)->cat_key.CName.len > HFS_NAMELEN) in hfs_write_inode()464 fd.search_key->cat = HFS_I(main_inode)->cat_key; in hfs_write_inode()468 if (S_ISDIR(main_inode->i_mode)) { in hfs_write_inode()
581 struct inode *main_inode = inode; in hfsplus_cat_write_inode() local587 main_inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_cat_write_inode()589 if (!main_inode->i_nlink) in hfsplus_cat_write_inode()592 if (hfs_find_init(HFSPLUS_SB(main_inode->i_sb)->cat_tree, &fd)) in hfsplus_cat_write_inode()596 if (hfsplus_find_cat(main_inode->i_sb, main_inode->i_ino, &fd)) in hfsplus_cat_write_inode()600 if (S_ISDIR(main_inode->i_mode)) { in hfsplus_cat_write_inode()