summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-10-21 03:38:30 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-21 05:11:35 -0700
commitdb61075a123008ebd94ab8ff00b984e484155654 (patch)
treec52c3a644695ccc6e6d0af260d539611f1998af2 /xlators
parentcd9a247906924106c722ecf4611b7be4b5408ad9 (diff)
Solaris build: Fix linux only features
Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1990 (Gluster mainline build on solaris fails with errors) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1990
Diffstat (limited to 'xlators')
-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);