aboutsummaryrefslogtreecommitdiff
path: root/net/samba410/files/patch-glusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba410/files/patch-glusterfs')
-rw-r--r--net/samba410/files/patch-glusterfs31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/samba410/files/patch-glusterfs b/net/samba410/files/patch-glusterfs
new file mode 100644
index 000000000000..6de8af880100
--- /dev/null
+++ b/net/samba410/files/patch-glusterfs
@@ -0,0 +1,31 @@
+--- lib/replace/system/filesys.h.orig 2017-12-16 01:37:41 UTC
++++ lib/replace/system/filesys.h
+@@ -213,8 +213,10 @@
+ this allows us to use a uniform error handling for our xattr
+ wrappers
+ */
+-#ifndef ENOATTR
++#if !defined(ENOATTR) && defined(ENODATA)
+ #define ENOATTR ENODATA
++#elif defined(ENOATTR) && !defined(ENODATA)
++#define ENODATA ENOATTR
+ #endif
+
+
+--- source3/modules/vfs_glusterfs.c.orig 2017-12-23 08:02:15 UTC
++++ source3/modules/vfs_glusterfs.c
+@@ -36,12 +36,13 @@
+ */
+
+ #include "includes.h"
++#include "system/filesys.h"
++#include "smbd/globals.h"
+ #include "smbd/smbd.h"
+ #include <stdio.h>
+ #include <glusterfs/api/glfs.h>
+ #include "lib/util/dlinklist.h"
+ #include "lib/util/tevent_unix.h"
+-#include "smbd/globals.h"
+ #include "lib/util/sys_rw.h"
+ #include "smbprofile.h"
+ #include "modules/posixacl_xattr.h"