summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-helpers.c
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-07-01 16:08:40 -0700
committerHarshavardhana <harsha@harshavardhana.net>2014-07-02 17:24:17 -0700
commit6718342a2cc853e8e6b268abe802d5bd28eca8c0 (patch)
tree93fdd00061244dc5380b3e481894dd0e714f440a /xlators/storage/posix/src/posix-helpers.c
parent1b74cf992986287a510fe3b28a8ee7554e8b0992 (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/storage/posix/src/posix-helpers.c')
-rw-r--r--xlators/storage/posix/src/posix-helpers.c2
1 files changed, 1 insertions, 1 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) {