diff options
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, |