summaryrefslogtreecommitdiff
path: root/net/glusterfs/files/patch-libglusterfs_src_syscall.c
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2020-07-29 20:33:59 +0000
committerFlorian Smeets <flo@FreeBSD.org>2020-07-29 20:33:59 +0000
commit32e7d4c3b3ae3973abb608bc732232904a0018c0 (patch)
treed4cca23454b8b5f7fcc5319fb816cd501b7f90d1 /net/glusterfs/files/patch-libglusterfs_src_syscall.c
parentx11/wofi: update to 1.2.1 (diff)
Update to 8.0, this is a collaborative effort between Daniel Morante and
myself. - update to 8.0 - make it possible to mount gluster volumes on boot [1] - reset maintainer [1], I would have set it to ports@ but Daniel volunteered to maintain the port - add pkg-message to point out that procfs is required for some operations like "gluster volume status" which is also required for self healing. [2] This version works although I still see the same memory leak as with the 3.X series. PR: 236112 [1], 223671 [2] Submitted by: Daniel Morante <daniel@morante.net>, flo Obtained from: https://github.com/tuaris/freebsd-glusterfs7 Differential Revision: D25037
Diffstat (limited to 'net/glusterfs/files/patch-libglusterfs_src_syscall.c')
-rw-r--r--net/glusterfs/files/patch-libglusterfs_src_syscall.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/glusterfs/files/patch-libglusterfs_src_syscall.c b/net/glusterfs/files/patch-libglusterfs_src_syscall.c
new file mode 100644
index 000000000000..a674d3b9218d
--- /dev/null
+++ b/net/glusterfs/files/patch-libglusterfs_src_syscall.c
@@ -0,0 +1,20 @@
+--- libglusterfs/src/syscall.c.orig 2020-05-18 20:57:54 UTC
++++ libglusterfs/src/syscall.c
+@@ -485,7 +485,7 @@ sys_lsetxattr(const char *path, const char *name, cons
+ #endif
+
+ #ifdef GF_BSD_HOST_OS
+- return FS_RET_CHECK0(
++ return FS_RET_CHECK(
+ extattr_set_link(path, EXTATTR_NAMESPACE_USER, name, value, size),
+ errno);
+ #endif
+@@ -603,7 +603,7 @@ sys_fsetxattr(int filedes, const char *name, const voi
+ #endif
+
+ #ifdef GF_BSD_HOST_OS
+- return FS_RET_CHECK0(
++ return FS_RET_CHECK(
+ extattr_set_fd(filedes, EXTATTR_NAMESPACE_USER, name, value, size),
+ errno);
+ #endif