summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 9f4745aaec3..65579ee129b 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -1341,7 +1341,7 @@ posix_create (call_frame_t *frame, xlator_t *this,
}
if (priv->o_direct)
- flags |= O_DIRECT;
+ _flags |= O_DIRECT;
_fd = open (real_path, _flags, mode);