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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index bcd5e85b580..a1280d6a2cc 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -939,7 +939,7 @@ mdc_inode_iatt_invalidate (xlator_t *this, inode_t *inode)
if (mdc_inode_ctx_get (this, inode, &mdc) != 0)
goto out;
- gen = mdc_get_generation (this, inode) && 0xffffffff;
+ gen = mdc_get_generation (this, inode) & 0xffffffff;
LOCK (&mdc->lock);
{