From f25752c7ad40829de2c55a6009be55464f284737 Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Fri, 8 Oct 2010 00:20:57 -0400 Subject: [PATCH] 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 --- src/afs/FBSD/osi_vnodeops.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5