diff options
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 24c21ffee4..f49cdbb473 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -108,9 +108,6 @@ extern struct vfs_init_function_entry *backends; extern char *sparse_buf; extern char *LastDir; -/* Current number of oplocks we have outstanding. */ -extern int32_t exclusive_oplocks_open; -extern int32_t level_II_oplocks_open; extern struct kernel_oplocks *koplocks; struct smbd_parent_context; @@ -519,6 +516,12 @@ struct smbd_server_connection { uint64_t num_requests; + /* Current number of oplocks we have outstanding. */ + struct { + int32_t exclusive_open; + int32_t level_II_open; + } oplocks; + struct { struct fd_event *fde; |