summaryrefslogtreecommitdiff
path: root/scripts/diffconfig
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-20 19:24:36 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-31 19:18:37 +0300
commit253ba178c8d9065748fa56b39343e6a5a55b0023 (patch)
tree694780b446d4269f0a5f5066dbf80cfff0e06ed6 /scripts/diffconfig
parenta1d97d8417d3c2f2477847541303621c32652976 (diff)
downloadlinux-253ba178c8d9065748fa56b39343e6a5a55b0023.tar.xz
bcachefs: Fix ca->oldest_gen allocation
The ca->oldest_gen array needs to be the same size as the bucket_gens array; ca->mi.nbuckets is updated with only state_lock held, not gc_lock, so bch2_gc_gens() could race with device resize and allocate too small of an oldest_gens array. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions