summaryrefslogtreecommitdiff
path: root/net/glusterfs/files/patch-libglusterfs_src_syscall.c
diff options
context:
space:
mode:
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