Skip to content

Commit

Permalink
mapi_lib: replace faulty rop_util_get_gc_value mask
Browse files Browse the repository at this point in the history
Fixes: gromox-2.33-52-g209dd5197
References: DESK-2623, GXF-1863, GXF-1831
  • Loading branch information
jengelh committed Oct 15, 2024
1 parent 58f3d7b commit 4066f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mapi/rop_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ uint16_t rop_util_get_replid(eid_t eid)
*/
uint64_t rop_util_get_gc_value(eid_t eid)
{
return __builtin_bswap64(eid.m_value) & 0xFFFFFFFF;
return __builtin_bswap64(eid.m_value) & eid_t::GCV_MASK;
}

/**
Expand Down

0 comments on commit 4066f8d

Please sign in to comment.