]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: print_string_as_lines: fix extra newline
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 26 Mar 2025 15:57:03 +0000 (11:57 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Mar 2025 16:36:32 +0000 (12:36 -0400)
commit35a11506a341cca48900570f68abdaefc9b84646
tree2ab41d247ec9f392f07e34022737035266f1c404
parent3c72d3eea97ba6cd41486b1c4ba2c69342b003c2
bcachefs: print_string_as_lines: fix extra newline

Don't print a newline on empty string; this was causing us to also print
an extra newline when we got to the end of th string.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/util.c