summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-25 23:20:06 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:07 +0200
commit0e771263eed0b9bc364ce523765ea17dd1192841 (patch)
tree95c96ef7fd2d0c8e1d416c5eec817d3db055f5d0 /source3/modules
parent64422d973583a510e6ea2e655bf398ea85f445b5 (diff)
downloadsamba-0e771263eed0b9bc364ce523765ea17dd1192841.tar.gz
samba-0e771263eed0b9bc364ce523765ea17dd1192841.tar.bz2
samba-0e771263eed0b9bc364ce523765ea17dd1192841.zip
s3-includes: only include system/filesys.h when needed.
Guenther
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/nfs4_acls.c1
-rw-r--r--source3/modules/vfs_acl_common.c1
-rw-r--r--source3/modules/vfs_acl_tdb.c1
-rw-r--r--source3/modules/vfs_audit.c1
-rw-r--r--source3/modules/vfs_crossrename.c1
-rw-r--r--source3/modules/vfs_default.c1
-rw-r--r--source3/modules/vfs_dirsort.c1
-rw-r--r--source3/modules/vfs_expand_msdfs.c1
-rw-r--r--source3/modules/vfs_extd_audit.c1
-rw-r--r--source3/modules/vfs_fake_perms.c1
-rw-r--r--source3/modules/vfs_fileid.c1
-rw-r--r--source3/modules/vfs_full_audit.c1
-rw-r--r--source3/modules/vfs_linux_xfs_sgid.c1
-rw-r--r--source3/modules/vfs_netatalk.c1
-rw-r--r--source3/modules/vfs_posixacl.c1
-rw-r--r--source3/modules/vfs_preopen.c1
-rw-r--r--source3/modules/vfs_readahead.c1
-rw-r--r--source3/modules/vfs_recycle.c1
-rw-r--r--source3/modules/vfs_scannedonly.c1
-rw-r--r--source3/modules/vfs_shadow_copy2.c1
-rw-r--r--source3/modules/vfs_streams_depot.c1
-rw-r--r--source3/modules/vfs_streams_xattr.c1
-rw-r--r--source3/modules/vfs_syncops.c1
-rw-r--r--source3/modules/vfs_xattr_tdb.c1
24 files changed, 24 insertions, 0 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c
index 952bc9c6c1..bb457fdc6a 100644
--- a/source3/modules/nfs4_acls.c
+++ b/source3/modules/nfs4_acls.c
@@ -23,6 +23,7 @@
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#include "include/dbwrap.h"
+#include "system/filesys.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_ACLS
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c
index e01ac4ec5f..0e513ee682 100644
--- a/source3/modules/vfs_acl_common.c
+++ b/source3/modules/vfs_acl_common.c
@@ -19,6 +19,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "system/filesys.h"
#include "../libcli/security/security.h"
#include "../librpc/gen_ndr/ndr_security.h"
diff --git a/source3/modules/vfs_acl_tdb.c b/source3/modules/vfs_acl_tdb.c
index 5fc1bc03f2..27aa37a8e0 100644
--- a/source3/modules/vfs_acl_tdb.c
+++ b/source3/modules/vfs_acl_tdb.c
@@ -21,6 +21,7 @@
/* NOTE: This is an experimental module, not yet finished. JRA. */
#include "includes.h"
+#include "system/filesys.h"
#include "librpc/gen_ndr/xattr.h"
#include "librpc/gen_ndr/ndr_xattr.h"
#include "../lib/crypto/crypto.h"
diff --git a/source3/modules/vfs_audit.c b/source3/modules/vfs_audit.c
index a073da8d91..cb1a5d3a0c 100644
--- a/source3/modules/vfs_audit.c
+++ b/source3/modules/vfs_audit.c
@@ -22,6 +22,7 @@
#include "includes.h"
+#include "system/filesys.h"
#include "system/syslog.h"
#undef DBGC_CLASS
diff --git a/source3/modules/vfs_crossrename.c b/source3/modules/vfs_crossrename.c
index ad8f45ac3f..a754b1ff76 100644
--- a/source3/modules/vfs_crossrename.c
+++ b/source3/modules/vfs_crossrename.c
@@ -16,6 +16,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#define MODULE "crossrename"
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index b7e70a608b..886798ebc3 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
diff --git a/source3/modules/vfs_dirsort.c b/source3/modules/vfs_dirsort.c
index 82a3a4bb98..050c7342c0 100644
--- a/source3/modules/vfs_dirsort.c
+++ b/source3/modules/vfs_dirsort.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
static int compare_dirent (const SMB_STRUCT_DIRENT *da, const SMB_STRUCT_DIRENT *db)
{
diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c
index 96f68e02c8..45cc32c88e 100644
--- a/source3/modules/vfs_expand_msdfs.c
+++ b/source3/modules/vfs_expand_msdfs.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "smbd/globals.h"
diff --git a/source3/modules/vfs_extd_audit.c b/source3/modules/vfs_extd_audit.c
index dd2f9a832e..326e40428e 100644
--- a/source3/modules/vfs_extd_audit.c
+++ b/source3/modules/vfs_extd_audit.c
@@ -23,6 +23,7 @@
#include "includes.h"
+#include "system/filesys.h"
#include "system/syslog.h"
static int vfs_extd_audit_debug_level = DBGC_VFS;
diff --git a/source3/modules/vfs_fake_perms.c b/source3/modules/vfs_fake_perms.c
index af8b410657..344b15f95d 100644
--- a/source3/modules/vfs_fake_perms.c
+++ b/source3/modules/vfs_fake_perms.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
diff --git a/source3/modules/vfs_fileid.c b/source3/modules/vfs_fileid.c
index 559b520d1c..27da7d63bb 100644
--- a/source3/modules/vfs_fileid.c
+++ b/source3/modules/vfs_fileid.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
static int vfs_fileid_debug_level = DBGC_VFS;
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index aba5f83b44..71a8723315 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -58,6 +58,7 @@
#include "includes.h"
+#include "system/filesys.h"
#include "system/syslog.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
diff --git a/source3/modules/vfs_linux_xfs_sgid.c b/source3/modules/vfs_linux_xfs_sgid.c
index e01b2d1157..ca2b5b58a7 100644
--- a/source3/modules/vfs_linux_xfs_sgid.c
+++ b/source3/modules/vfs_linux_xfs_sgid.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
static int linux_xfs_sgid_mkdir(vfs_handle_struct *handle, const char *path, mode_t mode)
{
diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c
index 734c603618..11559aea0e 100644
--- a/source3/modules/vfs_netatalk.c
+++ b/source3/modules/vfs_netatalk.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
diff --git a/source3/modules/vfs_posixacl.c b/source3/modules/vfs_posixacl.c
index 9dd25a781e..6bdfeda646 100644
--- a/source3/modules/vfs_posixacl.c
+++ b/source3/modules/vfs_posixacl.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
/* prototypes for static functions first - for clarity */
diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c
index e545901035..12a2f9df37 100644
--- a/source3/modules/vfs_preopen.c
+++ b/source3/modules/vfs_preopen.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
struct preopen_state;
diff --git a/source3/modules/vfs_readahead.c b/source3/modules/vfs_readahead.c
index e7a7dd305c..0fd745d66a 100644
--- a/source3/modules/vfs_readahead.c
+++ b/source3/modules/vfs_readahead.c
@@ -16,6 +16,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
struct readahead_data {
SMB_OFF_T off_bound;
diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index 626147ca83..607ce3a4b8 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/modules/vfs_recycle.c
@@ -23,6 +23,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#define ALLOC_CHECK(ptr, label) do { if ((ptr) == NULL) { DEBUG(0, ("recycle.bin: out of memory!\n")); errno = ENOMEM; goto label; } } while(0)
diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c
index fd6c3e2077..db18a077f5 100644
--- a/source3/modules/vfs_scannedonly.c
+++ b/source3/modules/vfs_scannedonly.c
@@ -48,6 +48,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "config.h"
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index e3c3f9f3a0..788270cf15 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
/*
diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c
index 9870d0d571..ac0b95a63b 100644
--- a/source3/modules/vfs_streams_depot.c
+++ b/source3/modules/vfs_streams_depot.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c
index fb83c5b789..6912a8b610 100644
--- a/source3/modules/vfs_streams_xattr.c
+++ b/source3/modules/vfs_streams_xattr.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "../lib/crypto/md5.h"
#undef DBGC_CLASS
diff --git a/source3/modules/vfs_syncops.c b/source3/modules/vfs_syncops.c
index d5770d092c..a828e92165 100644
--- a/source3/modules/vfs_syncops.c
+++ b/source3/modules/vfs_syncops.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
/*
diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c
index 594f2e635c..b98ebb3df6 100644
--- a/source3/modules/vfs_xattr_tdb.c
+++ b/source3/modules/vfs_xattr_tdb.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "librpc/gen_ndr/xattr.h"
#include "librpc/gen_ndr/ndr_xattr.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"