Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfsserver/nfs_nfsdport.c
Show First 20 Lines • Show All 671 Lines • ▼ Show 20 Lines | for (;;) { | ||||
cnp->cn_nameptr = cnp->cn_pnbuf; | cnp->cn_nameptr = cnp->cn_pnbuf; | ||||
/* | /* | ||||
* Call lookup() to do the real work. If an error occurs, | * Call lookup() to do the real work. If an error occurs, | ||||
* ndp->ni_vp and ni_dvp are left uninitialized or NULL and | * ndp->ni_vp and ni_dvp are left uninitialized or NULL and | ||||
* we do not have to dereference anything before returning. | * we do not have to dereference anything before returning. | ||||
* In either case ni_startdir will be dereferenced and NULLed | * In either case ni_startdir will be dereferenced and NULLed | ||||
* out. | * out. | ||||
*/ | */ | ||||
error = lookup(ndp); | error = vfs_lookup(ndp); | ||||
if (error) | if (error) | ||||
break; | break; | ||||
/* | /* | ||||
* Check for encountering a symbolic link. Trivial | * Check for encountering a symbolic link. Trivial | ||||
* termination occurs if no symlink encountered. | * termination occurs if no symlink encountered. | ||||
*/ | */ | ||||
if ((cnp->cn_flags & ISSYMLINK) == 0) { | if ((cnp->cn_flags & ISSYMLINK) == 0) { | ||||
▲ Show 20 Lines • Show All 6,439 Lines • Show Last 20 Lines |