summaryrefslogtreecommitdiff
path: root/fs/select.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-06-20 10:04:35 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-06-21 10:17:07 -0400
commitf648b6c12b70af9d24a293617102729cee6b7862 (patch)
treef2e03d2f8c3da67c07506b3b150a48a87923c038 /fs/select.c
parent339b84ab6b1d66900c27bd999271cb2ae40ce812 (diff)
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 'fs/select.c')
0 files changed, 0 insertions, 0 deletions