bcachefs: Convert btree_err() to a function
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 3 Jan 2023 22:14:07 +0000 (17:14 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:48 +0000 (17:09 -0400)
commitb8fe1b1dfecc10e571f82327d61c693720d39b19
tree1356c167b34ceafdff2cc8698234e76458f360b3
parent149651dc6c1250b3b51c38391b3677261ac94075
bcachefs: Convert btree_err() to a function

This makes the code more readable, and reduces text size by 8 kb.

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