From db61075a123008ebd94ab8ff00b984e484155654 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Thu, 21 Oct 2010 03:38:30 +0000 Subject: Solaris build: Fix linux only features Signed-off-by: shishir gowda Signed-off-by: Anand V. Avati BUG: 1990 (Gluster mainline build on solaris fails with errors) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1990 --- xlators/mgmt/glusterd/src/glusterd-op-sm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 1ea0b6ce5d..d19caddc63 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 #include @@ -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); -- cgit