summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-01-05 11:35:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:01 -0500
commita189257c15725e36e68970ed723f3365d4496792 (patch)
tree9b02968535257705af636aa43830fba00b68b82f /source3/smbd/server.c
parentc3a2101da021abf52d06842598325a6cef6bbc83 (diff)
downloadsamba-a189257c15725e36e68970ed723f3365d4496792.tar.gz
samba-a189257c15725e36e68970ed723f3365d4496792.tar.bz2
samba-a189257c15725e36e68970ed723f3365d4496792.zip
r12721: GPFS 2.4 on Linux will contain some windows semantics, ie share modes and
oplocks across the cluster. Adapt Samba to it. The gpfs API is called via libgpfs.so. This code is written with dlopen(), so that you can compile on a system with gpfs installed and later on run on systems without gpfs available. So to actually make Samba call gpfs share mode calls you need to compile with gpfs.h and libgpfs.so around and set 'gpfs share = yes' on the shares you export from GPFS. Volker (This used to be commit 2253b17a1a88555291b59d52c826c81c2b8f7e7f)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index ff894e2460..56c9c72127 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -899,6 +899,8 @@ void build_options(BOOL screen);
if (!print_backend_init())
exit(1);
+ init_gpfs();
+
/* Setup the main smbd so that we can get messages. */
/* don't worry about general printing messages here */