diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-26 22:20:34 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-14 19:00:12 -0400 |
commit | 3811f48aa3d6ab97b199bdf4bdacce7abe7cfdeb (patch) | |
tree | 1d5c0e36194c8cffdf7611f5a777e3d44fdc8c12 /fs/bcachefs/printbuf.h | |
parent | babe30fe8db62b79f7e3df4144acc344b3672f60 (diff) |
bcachefs: bch2_printbuf_strip_trailing_newline()
Add a new helper to fix inode_to_text()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/printbuf.h')
-rw-r--r-- | fs/bcachefs/printbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/printbuf.h b/fs/bcachefs/printbuf.h index 9ecc56bc9635..1d570387b77f 100644 --- a/fs/bcachefs/printbuf.h +++ b/fs/bcachefs/printbuf.h @@ -115,6 +115,7 @@ void bch2_printbuf_indent_add(struct printbuf *, unsigned); void bch2_printbuf_indent_sub(struct printbuf *, unsigned); void bch2_prt_newline(struct printbuf *); +void bch2_printbuf_strip_trailing_newline(struct printbuf *); void bch2_prt_tab(struct printbuf *); void bch2_prt_tab_rjust(struct printbuf *); |