bcachefs: Convert debugfs code to for_each_btree_key2()
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 20 Jul 2022 20:50:26 +0000 (16:50 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:37 +0000 (17:09 -0400)
commitd7228ecc483e1e104179a24a7e1e4568ae9235cb
tree6b3820e6887febfcaa71a3a9925b1a54ac8360f5
parent84ece59ad5c1cd972619cae5a5df8998cc5e779f
bcachefs: Convert debugfs code to for_each_btree_key2()

This fixes a bug where we were leaking a transaction restart error to
userspace.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/debug.c