bcachefs: Fix pr_tab_rjust()
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 6 Mar 2022 19:04:34 +0000 (14:04 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:27 +0000 (17:09 -0400)
commit07b8121f07056480c54fca99046870d84a657d13
treee3fcf7003f4e2729024d34193a4f6fca8d6d4572
parente1f7fa06a8ed48feedd5f538fc4724734c6e1869
bcachefs: Fix pr_tab_rjust()

pr_tab_rjust() was broken and leaving a null somewhere in the output
string - this patch fixes it and simplifies it a bit.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/util.c
fs/bcachefs/util.h