| 1469 | */ |
| 1470 | #ifdef INVARIANTS |
| 1471 | void |
| 1472 | NDFREE_NOTHING(struct nameidata *ndp) |
| 1473 | { |
| 1474 | struct componentname *cnp; |
| 1475 | |
| 1476 | cnp = &ndp->ni_cnd; |
| 1477 | KASSERT(cnp->cn_nameiop == LOOKUP, ("%s: got non-LOOKUP op %d\n", |
| 1478 | __func__, cnp->cn_nameiop)); |
| 1479 | KASSERT((cnp->cn_flags & (SAVENAME | HASBUF)) == 0, |
| 1480 | ("%s: bad flags \%" PRIx64 "\n", __func__, cnp->cn_flags)); |
| 1481 | } |
| 1482 | #endif |
| 1483 | |
| 1484 | void |
no outgoing calls
no test coverage detected