]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Revert "FBSD: in lookup, when ISDOTDOT, unlock dvp"
authorBen Kaduk <kaduk@mit.edu>
Fri, 8 Oct 2010 04:20:57 +0000 (00:20 -0400)
committerDerrick Brashear <shadow@dementia.org>
Mon, 25 Oct 2010 23:19:04 +0000 (16:19 -0700)
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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 50b99f85cae778ab270590d1282fd9d84a0e6ca3)
Change-Id: Ifde4220ea5f2f987b8e6f1fd3e4ba3ee93e31c8c
Reviewed-on: http://gerrit.openafs.org/3055

src/afs/FBSD/osi_vnodeops.c

index 57f7db89ce11a0268a42c09d07abbbdffb1413f3..cbd94d797ebcc64a6187074481ee452dd44c673d 100644 (file)
@@ -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);