diff options
| author | Kent Overstreet <[email protected]> | 2024-08-22 06:13:02 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-08-22 07:12:57 +0000 |
| commit | 87313ac1f134d6ee1e7c858da8bdea9147b537a9 (patch) | |
| tree | ee9bf7a7db8fd672c882abfa61612010d3748161 /drivers/platform/surface/aggregator/controller.c | |
| parent | bcachefs: Fix double assignment in check_dirent_to_subvol() (diff) | |
| download | kernel-87313ac1f134d6ee1e7c858da8bdea9147b537a9.tar.gz kernel-87313ac1f134d6ee1e7c858da8bdea9147b537a9.zip | |
bcachefs: clear path->should_be_locked in bch2_btree_key_cache_drop()
bch2_btree_key_cache_drop() evicts the key cache entry - it's used when
we're doing an update that bypasses the key cache, because for cache
coherency reasons a key can't be in the key cache unless it also exists
in the btree - i.e. creates have to bypass the cache.
After evicting, the path no longer points to a key cache key, and
relock() will always fail if should_be_locked is true.
Prep for improving path->should_be_locked assertions
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions
