diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-13 21:14:17 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-14 17:05:19 -0400 |
commit | 43b9fece2d9687cde58cc7eec4548dd1c35e2198 (patch) | |
tree | c8ea21adbe8f1f194beba0af184e29419342a7bb /lib/mpi/mpi-scan.c | |
parent | 61198e62878477926c9e986eaf6bc40aafb0bf64 (diff) |
bcachefs: Fix set_should_be_locked() call in peek_slot()
set_should_be_locked() needs to be called before peek_key_cache(), which
traverses other paths and may do a trans unlock/relock.
This fixes an assertion pop in path_peek_slot(), when the path we're
using is unexpectedly not uptodate.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions