PATH_IS_DIR
flags |= PATH_DELEGATE_DELETED | (S_ISDIR(cond->mode) ? PATH_IS_DIR :
flags = PATH_DELEGATE_DELETED | (S_ISDIR(cond.mode) ? PATH_IS_DIR : 0);
(S_ISDIR(path->dentry->d_inode->i_mode) ? PATH_IS_DIR : 0);
int isdir = (flags & PATH_IS_DIR) ? 1 : 0;