summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/debug.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-02-02 23:08:54 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:52 +0200
commit91f6ad6f947c96545eb7790569b279fdeac06153 (patch)
tree3b262ab8b7acef701852f66c45ecb15c9ae4127b /fs/bcachefs/debug.c
parentbcachefs: Journal updates to dev usage (diff)
downloadlinux-91f6ad6f947c96545eb7790569b279fdeac06153.tar.xz
linux-91f6ad6f947c96545eb7790569b279fdeac06153.zip
bcachefs: Include device in btree IO error messages
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r--fs/bcachefs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/debug.c b/fs/bcachefs/debug.c
index 0d5ec39e44e0..3ac700dc72d5 100644
--- a/fs/bcachefs/debug.c
+++ b/fs/bcachefs/debug.c
@@ -79,7 +79,7 @@ void __bch2_btree_verify(struct bch_fs *c, struct btree *b)
memcpy(n_ondisk, n_sorted, btree_bytes(c));
- if (bch2_btree_node_read_done(c, v, false))
+ if (bch2_btree_node_read_done(c, ca, v, false))
goto out;
n_sorted = c->verify_data->data;