summaryrefslogtreecommitdiff
path: root/libbcachefs/extents.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-08-18 20:26:12 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-08-18 20:44:19 -0400
commit8e0023ed4acdb3c736d77d775a790394a9701632 (patch)
tree9121e9b0d24559b812b680183da243925689389f /libbcachefs/extents.c
parente2e14931119598a47b143c0b03af90fba604533b (diff)
Update bcachefs sources to 62439c6f1a6d bcachefs: Simplify bch2_xattr_emit() implementation
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/extents.c')
-rw-r--r--libbcachefs/extents.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/extents.c b/libbcachefs/extents.c
index 4419ad3e..9406f82f 100644
--- a/libbcachefs/extents.c
+++ b/libbcachefs/extents.c
@@ -1017,6 +1017,8 @@ void bch2_extent_ptr_to_text(struct printbuf *out, struct bch_fs *c, const struc
prt_printf(out, "ptr: %u:%llu:%u gen %u",
ptr->dev, b, offset, ptr->gen);
+ if (ca->mi.durability != 1)
+ prt_printf(out, " d=%u", ca->mi.durability);
if (ptr->cached)
prt_str(out, " cached");
if (ptr->unwritten)