]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/sb-members.c
Update bcachefs sources to d267e10a43b2 bcachefs: __bch2_sb_field_to_text()
[bcachefs-tools-debian] / libbcachefs / sb-members.c
index 4c19a8096c1dfc4ced3b8ea2db21bedda3cd1352..a44a238bf8b5550023226844734424b1211c812a 100644 (file)
@@ -266,7 +266,7 @@ static void member_to_text(struct printbuf *out,
 
        prt_str(out, "Durability:");
        prt_tab(out);
-       prt_printf(out, "%llu", BCH_MEMBER_DURABILITY(&m));
+       prt_printf(out, "%llu", BCH_MEMBER_DURABILITY(&m) ? BCH_MEMBER_DURABILITY(&m) - 1 : 1);
        prt_newline(out);
 
        prt_printf(out, "Discard:");