mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
bcachefs: Add SPOS_MAX to bpos_to_text()
Better pretty printing ftw Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
dc02bed6d9
commit
1865ccff15
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user