aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2025-05-14 01:14:17 +0000
committerKent Overstreet <[email protected]>2025-05-14 21:05:19 +0000
commit43b9fece2d9687cde58cc7eec4548dd1c35e2198 (patch)
treec8ea21adbe8f1f194beba0af184e29419342a7bb /rust/helpers/build_assert.c
parentbcachefs: Fix self deadlock (diff)
downloadkernel-43b9fece2d9687cde58cc7eec4548dd1c35e2198.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions