performance/md-cache: Use bitwise AND instead of logical AND

Addresses CID: 1394640

Change-Id: I1139222301569d17760df74624acd301594063b9
updates: bz#789278
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
This commit is contained in:
Vijay Bellur 2018-08-14 11:44:54 -07:00 committed by Amar Tumballi
parent 4fe662be41
commit e765dfa070

View File

@ -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);
{