]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Fix bch2_read_bio_to_text()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 17 Jun 2025 00:08:23 +0000 (20:08 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 17 Jun 2025 00:35:42 +0000 (20:35 -0400)
commit6c4897caefc8e4c6f2bf08f8317b955672667909
tree12748d175940f0dcd9dfaf3a809788adac676dac
parent495ba899d5a163d4cd50627ab48e3edd80dfa3a4
bcachefs: Fix bch2_read_bio_to_text()

We can only pass negative error codes to bch2_err_str(); if it's a
positive integer it's not an error and we trip an assert.

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