implement filter_inode_type