usr/src/uts/common/fs/nfs/nfs4_srv.c
changeset 254 349581d9fc98
parent 154 7a745d3804a2
child 602 4ef537c7acd0
--- a/usr/src/uts/common/fs/nfs/nfs4_srv.c	Thu Jul 28 15:16:13 2005 -0700
+++ b/usr/src/uts/common/fs/nfs/nfs4_srv.c	Thu Jul 28 15:35:06 2005 -0700
@@ -890,8 +890,6 @@
 	if (error)
 		return (puterrno4(error));
 
-	VN_SETPATH(rootdir, dvp, vp, nm, strlen(nm));
-
 	/*
 	 * If the vnode is in a pseudo filesystem, or if the security flavor
 	 * used in the request is valid but not an explicitly shared flavor,
@@ -1594,8 +1592,6 @@
 		if (error)
 			break;
 
-		VN_SETPATH(rootdir, dvp, vp, nm, strlen(nm));
-
 		/*
 		 * va_seq is not safe over VOP calls, check it again
 		 * if it has changed zero out iva to force atomic = FALSE.
@@ -2424,8 +2420,6 @@
 	if (error)
 		return (puterrno4(error));
 
-	VN_SETPATH(rootdir, cs->vp, vp, nm, strlen(nm));
-
 	/*
 	 * If the vnode is in a pseudo filesystem, check whether it is visible.
 	 *
@@ -3548,7 +3542,6 @@
 		*vpp = NULL;
 
 	if ((error = VOP_LOOKUP(dvp, nm, &vp, NULL, 0, NULL, cr)) == 0) {
-		VN_SETPATH(rootdir, dvp, vp, nm, strlen(nm));
 		if (vp->v_type == VREG)
 			fp = rfs4_findfile(vp, NULL, &fcreate);
 		if (vpp)
@@ -5450,8 +5443,6 @@
 			return (status);
 		}
 
-		VN_SETPATH(rootdir, dvp, *vpp, nm, strlen(nm));
-
 		if (mode == UNCHECKED4) {
 			/* existing object must be regular file */
 			if ((*vpp)->v_type != VREG) {