Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfsserver/nfs_nfsdport.c
| Show First 20 Lines • Show All 343 Lines • ▼ Show 20 Lines | nfsvno_namei(struct nfsrv_descript *nd, struct nameidata *ndp, | ||||
| struct iovec aiov; | struct iovec aiov; | ||||
| struct uio auio; | struct uio auio; | ||||
| int lockleaf = (cnp->cn_flags & LOCKLEAF) != 0, linklen; | int lockleaf = (cnp->cn_flags & LOCKLEAF) != 0, linklen; | ||||
| int error = 0, crossmnt; | int error = 0, crossmnt; | ||||
| char *cp; | char *cp; | ||||
| *retdirp = NULL; | *retdirp = NULL; | ||||
| cnp->cn_nameptr = cnp->cn_pnbuf; | cnp->cn_nameptr = cnp->cn_pnbuf; | ||||
| ndp->ni_strictrelative = 0; | ndp->ni_nonrelativeerrno = 0; | ||||
| /* | /* | ||||
| * Extract and set starting directory. | * Extract and set starting directory. | ||||
| */ | */ | ||||
| if (dp->v_type != VDIR) { | if (dp->v_type != VDIR) { | ||||
| if (islocked) | if (islocked) | ||||
| vput(dp); | vput(dp); | ||||
| else | else | ||||
| vrele(dp); | vrele(dp); | ||||
| ▲ Show 20 Lines • Show All 3,054 Lines • Show Last 20 Lines | |||||