Commit 1865ccff authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Add SPOS_MAX to bpos_to_text()

Better pretty printing ftw
Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent dc02bed6
......@@ -215,6 +215,8 @@ void bch2_bpos_to_text(struct printbuf *out, struct bpos pos)
pr_buf(out, "POS_MIN");
else if (!bpos_cmp(pos, POS_MAX))
pr_buf(out, "POS_MAX");
else if (!bpos_cmp(pos, SPOS_MAX))
pr_buf(out, "SPOS_MAX");
else {
if (pos.inode == U64_MAX)
pr_buf(out, "U64_MAX");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment