diff options
author | Jeremy Allison <jra@samba.org> | 1997-10-07 18:46:19 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-10-07 18:46:19 +0000 |
commit | 1e1366ddc5542283a37debdf830ca139bbade1b0 (patch) | |
tree | c1a6a329284f0020dded65a47a90404e75a9554a /source/include/smb.h | |
parent | bef12478d212a950578843d6d4dece1f153bfd25 (diff) | |
download | samba-1e1366ddc5542283a37debdf830ca139bbade1b0.tar.gz samba-1e1366ddc5542283a37debdf830ca139bbade1b0.tar.xz samba-1e1366ddc5542283a37debdf830ca139bbade1b0.zip |
locking.c: Added fix for race condition in slow share mode code.
lsaparse.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS.
pipes.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS.
server.c: Fixed last known oplock race condition.
smb.h: Re-removed USE_OPLOCK defines - someone checked in an old version.
smbparse.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS.
Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/include/smb.h')
-rw-r--r-- | source/include/smb.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source/include/smb.h b/source/include/smb.h index 3adb3e5a4cb..c347202743c 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -1042,10 +1042,8 @@ typedef struct { smb_shm_offset_t next_share_mode_entry; int pid; -#ifdef USE_OPLOCKS uint16 op_port; uint16 op_type; -#endif /* USE_OPLOCKS */ int share_mode; struct timeval time; } share_mode_entry; @@ -1054,10 +1052,8 @@ typedef struct typedef struct { int pid; -#ifdef USE_OPLOCKS uint16 op_port; uint16 op_type; -#endif /* USE_OPLOCKS */ int share_mode; struct timeval time; } min_share_mode_entry; @@ -1083,11 +1079,7 @@ struct connect_record }; #ifndef LOCKING_VERSION -#ifdef USE_OPLOCKS #define LOCKING_VERSION 4 -#else /* USE_OPLOCKS */ -#define LOCKING_VERSION 3 -#endif /* USE_OPLOCKS */ #endif /* LOCKING_VERSION */ #if !defined(FAST_SHARE_MODES) @@ -1103,11 +1095,7 @@ struct connect_record #define SMF_FILENAME_LEN_OFFSET 8 #define SMF_HEADER_LENGTH 10 -#ifdef USE_OPLOCKS #define SMF_ENTRY_LENGTH 20 -#else /* USE_OPLOCKS */ -#define SMF_ENTRY_LENGTH 16 -#endif /* USE_OPLOCKS */ /* * Share mode record offsets. @@ -1117,11 +1105,8 @@ struct connect_record #define SME_USEC_OFFSET 4 #define SME_SHAREMODE_OFFSET 8 #define SME_PID_OFFSET 12 - -#ifdef USE_OPLOCKS #define SME_PORT_OFFSET 16 #define SME_OPLOCK_TYPE_OFFSET 18 -#endif /* USE_OPLOCKS */ #endif /* FAST_SHARE_MODES */ |