summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-04-14 00:41:43 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-14 14:52:02 +0530
commit7a4bc3fbb352396b27489b0e97327d0fc82b85d5 (patch)
tree3b3311f01cd2447184af6f6d0170145b67406052 /xlators
parent33e81bc94986929caab14a05231b25787a25a41b (diff)
minor bug fix in posix_create() when 'o-direct enable' option is given.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators')
-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 9f4745aae..65579ee12 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);