From 659959bea90181a08ed8e76a120b44cec3ff0b8d Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Sun, 20 Jun 2010 18:49:58 -0400 Subject: [PATCH] Correct FBSD-version conditionals for VFS locking The locking around some interfaces has changed with time. Make our preprocessor checks match the reality of when the changes were made. Change-Id: If933dd636bb908af27852897e9c77ed600759674 Reviewed-on: http://gerrit.openafs.org/2292 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/FBSD/osi_vnodeops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/FBSD/osi_vnodeops.c b/src/afs/FBSD/osi_vnodeops.c index 345114414..cfa59ff25 100644 --- a/src/afs/FBSD/osi_vnodeops.c +++ b/src/afs/FBSD/osi_vnodeops.c @@ -1398,7 +1398,7 @@ afs_vop_inactive(ap) AFS_GLOCK(); afs_InactiveVCache(VTOAFS(vp), 0); /* decrs ref counts */ AFS_GUNLOCK(); -#ifndef AFS_FBSD80_ENV +#ifndef AFS_FBSD60_ENV MA_VOP_UNLOCK(vp, 0, ap->a_td); #endif return 0; -- 2.39.5