REQUIREDIR
cnp->cn_flags |= REQUIREDIR;
cnp->cn_flags &= ~REQUIREDIR;
if (cnp->cn_flags & REQUIREDIR) {
cnp->cn_flags &= ~REQUIREDIR;
if ((dp->v_type == VLNK) && (cnp->cn_flags & (FOLLOW|REQUIREDIR))) {
if ((dp->v_type != VDIR) && (cnp->cn_flags & REQUIREDIR)) {