]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Fix bch2_read_btree()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 8 Dec 2023 04:50:38 +0000 (23:50 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:40 +0000 (11:47 -0500)
commitbe1fa63de867aa26f2f57e6f5db2a358f6da5ad1
treeb3ebc2d45acd3a07c3b0400969421e3a65b52610
parenta0acc24fedbe067b30f4320daa8d63b404f6ccd9
bcachefs: Fix bch2_read_btree()

In the debugfs code, we had an incorrect use of drop_locks_do(); on
transaction restart we don't want to restart the current loop iteration,
since we've already emitted the current key to the buffer for userspace.

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