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:
parent
4fe662be41
commit
e765dfa070
@ -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);
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user