diff options
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/quick-read/src/quick-read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index 77ae79d875b..e17d3db23e4 100644 --- a/xlators/performance/quick-read/src/quick-read.c +++ b/xlators/performance/quick-read/src/quick-read.c @@ -731,7 +731,7 @@ qr_open (call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, } UNLOCK (&table->lock); - if (content_cached && ((flags & O_DIRECTORY) == O_DIRECTORY)) { + if (content_cached && (flags & O_DIRECTORY)) { op_ret = -1; op_errno = ENOTDIR; gf_log (this->name, GF_LOG_WARNING, |