summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-10-01 23:32:22 +0000
committerJeremy Allison <jra@samba.org>1997-10-01 23:32:22 +0000
commit5864551aef50295addd1c8aa690a52870f70626d (patch)
tree5eb2ea3a3b74fb87f4808d0da1282990c03e25e9 /source3/include/smb.h
parenta8129c1602f7f537b3c1168b480c5debef12298a (diff)
downloadsamba-5864551aef50295addd1c8aa690a52870f70626d.tar.gz
samba-5864551aef50295addd1c8aa690a52870f70626d.tar.bz2
samba-5864551aef50295addd1c8aa690a52870f70626d.zip
OPLOCK CHECK-IN - oplocks are now *OPERATIONAL* !!!!
Yipeee. At least as far as I can check in a short time :-). local.h: Changed OPLOCK_BREAK_TIMEOUT to 30 seconds. locking.c: Big changes to delete oplocks on a share mode entry. proto.h: updated. reply.c: Added oplock break code in lockingX reply & readbraw reply. server.c: Add batch oplock code. Force server shutdown if client fails to respond to oplock break. smb.h: Fix silly slow share mode oplock define bug. status.c: Add oplock status info. Jeremy (jallison@whistle.com) (This used to be commit 4c83d37239f15f855fc10f01d7b4bf4217fb9eda)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index c8de001fda..509c1e1cf1 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -515,9 +515,9 @@ struct connect_record
#define SMF_HEADER_LENGTH 10
#ifdef USE_OPLOCKS
-#define SMF_ENTRY_LENGTH 16
-#else /* USE_OPLOCKS */
#define SMF_ENTRY_LENGTH 20
+#else /* USE_OPLOCKS */
+#define SMF_ENTRY_LENGTH 16
#endif /* USE_OPLOCKS */
/*