diff options
| author | Kent Overstreet <[email protected]> | 2025-05-14 01:14:17 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-05-14 21:05:19 +0000 |
| commit | 43b9fece2d9687cde58cc7eec4548dd1c35e2198 (patch) | |
| tree | c8ea21adbe8f1f194beba0af184e29419342a7bb /rust/helpers/build_assert.c | |
| parent | bcachefs: Fix self deadlock (diff) | |
| download | kernel-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
