diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2014-07-01 16:08:40 -0700 |
---|---|---|
committer | Harshavardhana <harsha@harshavardhana.net> | 2014-07-02 17:24:17 -0700 |
commit | 6718342a2cc853e8e6b268abe802d5bd28eca8c0 (patch) | |
tree | 93fdd00061244dc5380b3e481894dd0e714f440a /xlators | |
parent | 1b74cf992986287a510fe3b28a8ee7554e8b0992 (diff) |
porting: Provide fallocate and fremovexattr for OSX
Change-Id: I563216f83edaff6d01a251ef0c1746a14aec700c
BUG: 1089172
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-on: http://review.gluster.org/8217
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/storage/posix/src/posix-helpers.c | 2 | ||||
-rw-r--r-- | xlators/storage/posix/src/posix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c index c2f87c893d3..9ba95bc4941 100644 --- a/xlators/storage/posix/src/posix-helpers.c +++ b/xlators/storage/posix/src/posix-helpers.c @@ -528,7 +528,7 @@ posix_pstat (xlator_t *this, uuid_t gfid, const char *path, priv = this->private; - ret = lstat (path, &lstatbuf); + ret = sys_lstat (path, &lstatbuf); if (ret != 0) { if (ret == -1) { diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index ef98939c46d..eb0bac66d06 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -1013,7 +1013,7 @@ posix_readlink (call_frame_t *frame, xlator_t *this, goto out; } - op_ret = readlink (real_path, dest, size); + op_ret = sys_readlink (real_path, dest, size); if (op_ret == -1) { op_errno = errno; gf_log (this->name, GF_LOG_ERROR, |