From: Ben Kaduk Date: Sun, 28 Feb 2010 21:15:05 +0000 (-0500) Subject: Make build progress farther X-Git-Tag: openafs-devel-1_5_73~115 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=19eeb297c8eb1df6267cd392e92e4b9afb1827cb;p=packages%2Fo%2Fopenafs.git Make build progress farther Add a prototype for afs_global_owner in the AFS_FBSD50_ENV case. Change-Id: Ie9104af3e02e08cc46c479ff56f9e09aa3603e74 Reviewed-on: http://gerrit.openafs.org/1490 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/FBSD/osi_machdep.h b/src/afs/FBSD/osi_machdep.h index c8a6d5004..4c048840a 100644 --- a/src/afs/FBSD/osi_machdep.h +++ b/src/afs/FBSD/osi_machdep.h @@ -114,6 +114,7 @@ extern int (**afs_vnodeop_p) (); #define gop_rdwr(rw,gp,base,len,offset,segflg,unit,cred,aresid) \ vn_rdwr((rw),(gp),(base),(len),(offset),(segflg),(unit),(cred),(cred),(aresid), curthread) extern struct mtx afs_global_mtx; +extern struct thread *afs_global_owner; #define AFS_GLOCK() mtx_lock(&afs_global_mtx) #define AFS_GUNLOCK() mtx_unlock(&afs_global_mtx) #define ISAFS_GLOCK() (mtx_owned(&afs_global_mtx))