bcachefs: Add tabstops to printbufs
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 22 Feb 2022 09:53:48 +0000 (04:53 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:24 +0000 (17:09 -0400)
commit702a4ef07774fbc565f3e567073d2f83f9602667
tree2a3075cca3b847265a4c5d345b40e53cf9f684e8
parentf61816d0fc6091e14b3f4ffce962dc5084a1b6cd
bcachefs: Add tabstops to printbufs

Now, when outputting to printbufs, we can set tabstops and left or right
justify text to them - this is to be used by the userspace 'bcachefs fs
usage' command.

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