diff options
author | 2024-06-20 10:04:35 -0400 | |
---|---|---|
committer | 2024-06-21 10:17:07 -0400 | |
commit | f648b6c12b70af9d24a293617102729cee6b7862 (patch) | |
tree | f2e03d2f8c3da67c07506b3b150a48a87923c038 /scripts/generate_rust_analyzer.py | |
parent | closures: Change BUG_ON() to WARN_ON() (diff) | |
download | linux-rng-f648b6c12b70af9d24a293617102729cee6b7862.tar.xz linux-rng-f648b6c12b70af9d24a293617102729cee6b7862.zip |
bcachefs: Fix missing alloc_data_type_set()
Incorrect bucket state transition in the discard path; when incrementing
a bucket's generation number that had already been discarded, we were
forgetting to check if it should be need_gc_gens, not free.
This was caught by the .invalid checks in the transaction commit path,
causing us to go emergency read only.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions