crimson/os/seastore/.../lba_btree_node.h: add operator== for lba_map_val_t

Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
Samuel Just 2021-10-21 23:14:20 -07:00
parent b32fbda595
commit c9ae57ca50

View File

@ -48,6 +48,12 @@ struct lba_map_val_t {
uint32_t checksum)
: len(len), paddr(paddr), refcount(refcount), checksum(checksum) {}
};
WRITE_EQ_OPERATORS_4(
lba_map_val_t,
len,
paddr,
refcount,
checksum);
class BtreeLBAPin;
using BtreeLBAPinRef = std::unique_ptr<BtreeLBAPin>;