------------------------------------------------------------
revno: 676
revision-id:[EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: s3-ctdb-tridge
timestamp: Fri 2007-11-23 13:05:45 +1100
message:
  fixed lack of prototypes in vfs_gpfs.c
added:
  source/modules/vfs_gpfs.h      vfs_gpfs.h-20071123020453-jdad30x9g78r1yp5-1
modified:
  source/modules/gpfs.c          gpfs.c-20070210173807-1wjifrbwaz6xnmgl-647
  source/modules/vfs_gpfs.c      vfs_gpfs.c-20070210173807-1wjifrbwaz6xnmgl-665
=== added file 'source/modules/vfs_gpfs.h'
--- a/source/modules/vfs_gpfs.h 1970-01-01 00:00:00 +0000
+++ b/source/modules/vfs_gpfs.h 2007-11-23 02:05:45 +0000
@@ -0,0 +1,32 @@
+/*
+   Unix SMB/CIFS implementation.
+   Wrap gpfs calls in vfs functions.
+ 
+   Copyright (C) Christian Ambach <[EMAIL PROTECTED]> 2006
+   
+   Major code contributions by Chetan Shringarpure <[EMAIL PROTECTED]>
+                            and Gomati Mohanan <[EMAIL PROTECTED]>
+   
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+  
+
+*/
+
+BOOL set_gpfs_sharemode(files_struct *fsp, uint32 access_mask,
+                       uint32 share_access);
+int set_gpfs_lease(int fd, int leasetype);
+int smbd_gpfs_getacl(char *pathname, int flags, void *acl);
+int smbd_gpfs_putacl(char *pathname, int flags, void *acl);
+void init_gpfs(void);

=== modified file 'source/modules/gpfs.c'
--- a/source/modules/gpfs.c     2007-11-22 02:09:26 +0000
+++ b/source/modules/gpfs.c     2007-11-23 02:05:45 +0000
@@ -23,6 +23,7 @@
 #ifdef HAVE_GPFS
 
 #include "gpfs_gpl.h"
+#include "vfs_gpfs.h"
 
 static void *libgpfs_handle = NULL;
 static BOOL gpfs_share_modes;

=== modified file 'source/modules/vfs_gpfs.c'
--- a/source/modules/vfs_gpfs.c 2007-10-29 23:01:53 +0000
+++ b/source/modules/vfs_gpfs.c 2007-11-23 02:05:45 +0000
@@ -31,6 +31,7 @@
 
 #include <gpfs_gpl.h>
 #include "nfs4_acls.h"
+#include "vfs_gpfs.h"
 
 
 static int vfs_gpfs_kernel_flock(vfs_handle_struct *handle, files_struct *fsp, 

Reply via email to