From: Ben Kaduk Date: Fri, 8 Oct 2010 04:20:57 +0000 (-0400) Subject: Revert "FBSD: in lookup, when ISDOTDOT, unlock dvp" X-Git-Tag: openafs-devel-1_5_78~80 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f25752c7ad40829de2c55a6009be55464f284737;p=packages%2Fo%2Fopenafs.git Revert "FBSD: in lookup, when ISDOTDOT, unlock dvp" This reverts commit 96e433aebdd5699f02c205df2cce38927cd19a88. It was not properly tested, fails to compile on some systems, and destabilizes the client. Reviewed-on: http://gerrit.openafs.org/2951 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit 50b99f85cae778ab270590d1282fd9d84a0e6ca3) Change-Id: Ifde4220ea5f2f987b8e6f1fd3e4ba3ee93e31c8c Reviewed-on: http://gerrit.openafs.org/3055 --- diff --git a/src/afs/FBSD/osi_vnodeops.c b/src/afs/FBSD/osi_vnodeops.c index 57f7db89c..cbd94d797 100644 --- a/src/afs/FBSD/osi_vnodeops.c +++ b/src/afs/FBSD/osi_vnodeops.c @@ -503,8 +503,10 @@ afs_vop_lookup(ap) cnp->cn_flags |= MPSAFE; /* steel */ #endif +#ifndef AFS_FBSD70_ENV if (flags & ISDOTDOT) VOP_UNLOCK(dvp, 0, p); +#endif AFS_GLOCK(); error = afs_lookup(VTOAFS(dvp), name, &vcp, cnp->cn_cred);