diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-09 14:02:18 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-22 12:37:29 +0100 |
commit | 196028ab7b578526179d4fcff42a5d73ba07ccbb (patch) | |
tree | 554ea6ba2d01138fc5f85ac746a8720150fe2cde /source3/smbd/globals.h | |
parent | 048f8dba141c2f9898aad67e09925f03394a946e (diff) | |
download | samba-196028ab7b578526179d4fcff42a5d73ba07ccbb.tar.gz samba-196028ab7b578526179d4fcff42a5d73ba07ccbb.tar.bz2 samba-196028ab7b578526179d4fcff42a5d73ba07ccbb.zip |
s3:smbd: restructure kernel oplocks code
This converts the irix oplocks code to use a fd event
and removes the last special case for file descriptors
for the main sys_select().
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 157089f37c..2c4f8b5821 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -188,20 +188,13 @@ extern char *LastDir; extern SIG_ATOMIC_T oplock_signals_received; #define FD_PENDING_SIZE 100 extern SIG_ATOMIC_T fd_pending_array[FD_PENDING_SIZE]; -extern struct kernel_oplocks linux_koplocks; -#endif - -#if HAVE_KERNEL_OPLOCKS_IRIX -extern int oplock_pipe_write; -extern int oplock_pipe_read; -extern struct kernel_oplocks irix_koplocks; #endif /* Current number of oplocks we have outstanding. */ extern int32_t exclusive_oplocks_open; extern int32_t level_II_oplocks_open; extern bool global_client_failed_oplock_break; -extern const struct kernel_oplocks *koplocks; +extern struct kernel_oplocks *koplocks; extern struct notify_mid_map *notify_changes_by_mid; |