obsd-glock-decl-20051115
authorJim Rees <rees@umich.edu>
Tue, 15 Nov 2005 18:43:15 +0000 (18:43 +0000)
committerJim 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

index a728851..16c9b26 100644 (file)
@@ -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()