Skip to content

Commit d17233f

Browse files
committed
crimson/os/seastore/lba_mapping: fix LBAMapping::is_zero_reserved()
Signed-off-by: Yingxin Cheng <[email protected]>
1 parent 50a3fca commit d17233f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crimson/os/seastore/lba_mapping.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class LBAMapping : public BtreeNodeMapping<laddr_t, paddr_t> {
4747
virtual bool is_data_stable() const = 0;
4848
virtual bool is_clone() const = 0;
4949
bool is_zero_reserved() const {
50-
return !get_val().is_real();
50+
return get_val().is_zero();
5151
}
5252

5353
LBAMappingRef duplicate() const;

0 commit comments

Comments
 (0)