|
Lines 326-331
Link Here
|
| 326 |
MPASS(ndp->ni_startdir == NULL || ndp->ni_startdir->v_type == VDIR || |
326 |
MPASS(ndp->ni_startdir == NULL || ndp->ni_startdir->v_type == VDIR || |
| 327 |
ndp->ni_startdir->v_type == VBAD); |
327 |
ndp->ni_startdir->v_type == VBAD); |
| 328 |
fdp = p->p_fd; |
328 |
fdp = p->p_fd; |
|
|
329 |
|
| 330 |
/* Bail out if root file system is not mounted */ |
| 331 |
if (__predict_false(fdp->fd_rdir == NULL)) |
| 332 |
return (ENXIO); |
| 333 |
|
| 329 |
TAILQ_INIT(&ndp->ni_cap_tracker); |
334 |
TAILQ_INIT(&ndp->ni_cap_tracker); |
| 330 |
ndp->ni_lcf = 0; |
335 |
ndp->ni_lcf = 0; |
| 331 |
|
336 |
|