summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-03-18 18:31:30 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-03-19 14:44:33 +0530
commitc20359b5b2a564e83b5830b9a17013e780096e2d (patch)
tree9689a9ababf42c54927dc49dc63433ed3c17c667 /xlators/storage/posix/src
parent103d82700483bf744f86719e97846b065ca3394c (diff)
fixed sys_<fops> related warnings. (on mac os x and opensolaris)
The fix in posix will fix 'unresolved' symbol errors in Mac/Solaris/FreeBSD Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/storage/posix/src')
-rw-r--r--xlators/storage/posix/src/posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 50aea0f36..534db05fd 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -3850,7 +3850,7 @@ init (xlator_t *this)
/* Check for Extended attribute support, if not present, log it */
- op_ret = lsetxattr (dir_data->data,
+ op_ret = sys_lsetxattr (dir_data->data,
"trusted.glusterfs.test", "working", 8, 0);
if (op_ret < 0) {
tmp_data = dict_get (this->options,
@@ -3995,7 +3995,7 @@ void
fini (xlator_t *this)
{
struct posix_private *priv = this->private;
- lremovexattr (priv->base_path, "trusted.glusterfs.test");
+ sys_lremovexattr (priv->base_path, "trusted.glusterfs.test");
FREE (priv);
return;
}