Searched refs:IS_DIR (Results 1 – 2 of 2) sorted by relevance
72 #define IS_DIR(mode) (((mode) & EXT2_S_IFMT) == EXT2_S_IFDIR) macro
1236 ret = ext2_free_inode(inode->i_fs, inode->i_id, IS_DIR(inode->i_mode)); in remove_inode()1242 if (!IS_DIR(inode->i_mode)) { in can_unlink()1293 (IS_DIR(inode->i_mode) && inode->i_links_count == 2)) { in ext2_inode_unlink()