summaryrefslogtreecommitdiffstats
path: root/xlators/performance/md-cache/src/md-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/md-cache/src/md-cache.c')
-rw-r--r--xlators/performance/md-cache/src/md-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index 13396a44e8a..dd161ce84bb 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -315,7 +315,7 @@ is_md_cache_iatt_valid (xlator_t *this, struct md_cache *mdc)
LOCK (&mdc->lock);
{
- if (now > (mdc->ia_time + conf->timeout))
+ if (now >= (mdc->ia_time + conf->timeout))
ret = _gf_false;
}
UNLOCK (&mdc->lock);
@@ -337,7 +337,7 @@ is_md_cache_xatt_valid (xlator_t *this, struct md_cache *mdc)
LOCK (&mdc->lock);
{
- if (now > (mdc->xa_time + conf->timeout))
+ if (now >= (mdc->xa_time + conf->timeout))
ret = _gf_false;
}
UNLOCK (&mdc->lock);