From: Ben Kaduk Date: Sun, 20 Jun 2010 22:49:58 +0000 (-0400) Subject: Correct FBSD-version conditionals for VFS locking X-Git-Tag: openafs-devel-1_5_75~45 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=659959bea90181a08ed8e76a120b44cec3ff0b8d 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 --- diff --git a/src/afs/FBSD/osi_vnodeops.c b/src/afs/FBSD/osi_vnodeops.c index 3451144..cfa59ff 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;