summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-op-sm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 1ea0b6ce5dc..d19caddc63c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -46,6 +46,7 @@
#include "glusterd-store.h"
#include "cli1.h"
#include "glusterd-volgen.h"
+#include "syscall.h"
#include <sys/types.h>
#include <signal.h>
@@ -2015,7 +2016,7 @@ rb_send_xattr_command (glusterd_volinfo_t *volinfo,
goto out;
}
- ret = lsetxattr (mount_point_path, xattr_key,
+ ret = sys_lsetxattr (mount_point_path, xattr_key,
value,
strlen (value) + 1,
0);