s3:smbd: move all globals and static variables in globals.[ch]
[samba.git] / source3 / smbd / oplock.c
index 6efa3dcfc62e08d76a79e6f774c853e639581d9e..3fd5afef22f2352149917d76cd108050bc7ba35d 100644 (file)
 
 #define DBGC_CLASS DBGC_LOCKING
 #include "includes.h"
-
-/* Current number of oplocks we have outstanding. */
-static int32 exclusive_oplocks_open = 0;
-static int32 level_II_oplocks_open = 0;
-bool global_client_failed_oplock_break = False;
-
-extern uint32 global_client_caps;
-
-static struct kernel_oplocks *koplocks;
+#include "smbd/globals.h"
 
 /****************************************************************************
  Get the number of current exclusive oplocks.