git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6f82595
)
obsd-glock-decl-20051115
author
Jim Rees
<rees@umich.edu>
Tue, 15 Nov 2005 18:43:15 +0000 (18:43 +0000)
committer
Jim Rees
<rees@umich.edu>
Tue, 15 Nov 2005 18:43:15 +0000 (18:43 +0000)
Fix decl of afs_global_lock so you can build with global lock disabled
src/afs/OBSD/osi_machdep.h
patch
|
blob
|
history
diff --git
a/src/afs/OBSD/osi_machdep.h
b/src/afs/OBSD/osi_machdep.h
index
a728851
..
16c9b26
100644
(file)
--- a/
src/afs/OBSD/osi_machdep.h
+++ b/
src/afs/OBSD/osi_machdep.h
@@
-127,7
+127,7
@@
extern struct lock afs_global_lock;
} while(0)
#define ISAFS_GLOCK() (afs_global_owner == curproc && curproc)
#else
-extern struct simplelock afs_global_lock;
+extern struct lock afs_global_lock;
#define AFS_GLOCK()
#define AFS_GUNLOCK()
#define AFS_ASSERT_GLOCK()