diff options
author | 2025-05-13 21:14:17 -0400 | |
---|---|---|
committer | 2025-05-14 17:05:19 -0400 | |
commit | 43b9fece2d9687cde58cc7eec4548dd1c35e2198 (patch) | |
tree | c8ea21adbe8f1f194beba0af184e29419342a7bb /scripts/lib/kdoc/kdoc_files.py | |
parent | bcachefs: Fix self deadlock (diff) | |
download | linux-rng-43b9fece2d9687cde58cc7eec4548dd1c35e2198.tar.xz linux-rng-43b9fece2d9687cde58cc7eec4548dd1c35e2198.zip |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions