diff options
| author | Kevin Vigor <kvigor@fb.com> | 2017-03-05 09:21:11 -0800 |
|---|---|---|
| committer | Kevin Vigor <kvigor@fb.com> | 2017-03-05 09:21:11 -0800 |
| commit | 523a544a58737522866a9c6b8fc3c041a9b0621f (patch) | |
| tree | d7912fa61c5d42f1f7a44a600d95668d1164db92 /xlators/storage/posix/src/posix.c | |
| parent | 59c0315ae35c339e3b36bb7e38da5c0753ab977a (diff) | |
| parent | 19aeb28e73c20a9ded183676c6080dc37515513c (diff) | |
Merge remote-tracking branch 'origin/release-3.8' into merge-3.8
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
| -rw-r--r-- | xlators/storage/posix/src/posix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 22601e688aa..49665884a7e 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -2076,7 +2076,7 @@ posix_unlink (call_frame_t *frame, xlator_t *this, if (fdstat_requested || (priv->background_unlink && IA_ISREG (loc->inode->ia_type))) { - fd = open (real_path, O_RDONLY); + fd = sys_open (real_path, O_RDONLY, 0); if (fd == -1) { op_ret = -1; op_errno = errno; @@ -2938,7 +2938,7 @@ posix_create (call_frame_t *frame, xlator_t *this, if (priv->o_direct) _flags |= O_DIRECT; - _fd = open (real_path, _flags, mode); + _fd = sys_open (real_path, _flags, mode); if (_fd == -1) { op_errno = errno; @@ -3099,7 +3099,7 @@ posix_open (call_frame_t *frame, xlator_t *this, if (priv->o_direct) flags |= O_DIRECT; - _fd = open (real_path, flags, 0); + _fd = sys_open (real_path, flags, 0); if (_fd == -1) { op_ret = -1; op_errno = errno; |
