summaryrefslogtreecommitdiff
path: root/source4/param/share.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-27 20:32:02 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-27 20:32:02 +1100
commit4fc27c9969960dfef73ad80438d274e0f45e119e (patch)
treeea558da1f71c52f8c1daa13de7eff7ecb72d322e /source4/param/share.h
parent83ea6d5f55dcb18da48cee880624ed4530f9c05f (diff)
downloadsamba-4fc27c9969960dfef73ad80438d274e0f45e119e.tar.gz
samba-4fc27c9969960dfef73ad80438d274e0f45e119e.tar.bz2
samba-4fc27c9969960dfef73ad80438d274e0f45e119e.zip
Make oplocks a per-share option.
This even goes via the share options system (a very odd layer of indirection). Andrew Bartlett (This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
Diffstat (limited to 'source4/param/share.h')
-rw-r--r--source4/param/share.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/param/share.h b/source4/param/share.h
index 51f45781c1..9f9cbdce5b 100644
--- a/source4/param/share.h
+++ b/source4/param/share.h
@@ -90,6 +90,7 @@ struct loadparm_context;
#define SHARE_MAP_ARCHIVE "map-archive"
#define SHARE_STRICT_LOCKING "strict-locking"
+#define SHARE_OPLOCKS "oplocks"
#define SHARE_STRICT_SYNC "strict-sync"
#define SHARE_MSDFS_ROOT "msdfs-root"
#define SHARE_CI_FILESYSTEM "ci-filesystem"
@@ -125,6 +126,7 @@ struct loadparm_context;
#define SHARE_MAP_ARCHIVE_DEFAULT true
#define SHARE_STRICT_LOCKING_DEFAULT true
+#define SHARE_OPLOCKS_DEFAULT true
#define SHARE_STRICT_SYNC_DEFAULT false
#define SHARE_MSDFS_ROOT_DEFAULT false
#define SHARE_CI_FILESYSTEM_DEFAULT false