From 7a4bc3fbb352396b27489b0e97327d0fc82b85d5 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 14 Apr 2009 00:41:43 -0700 Subject: minor bug fix in posix_create() when 'o-direct enable' option is given. Signed-off-by: Anand V. Avati --- xlators/storage/posix/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/storage/posix/src/posix.c') 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); -- cgit