aboutsummaryrefslogtreecommitdiff
path: root/mm/mm_slot.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-02-21 13:22:11 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:24 -0400
commitf61816d0fc6091e14b3f4ffce962dc5084a1b6cd (patch)
treee544827d27d3e8adba7d490c98d5cbdc240dc0f4 /mm/mm_slot.h
parent12bf93a429c981cf337ce2c27504ec0171157f76 (diff)
bcachefs: Fix a use after free
In move_read_endio, we were checking if the next pending write has its read completed - but this can turn after a use after free (and we were accessing the list without a lock), so instead just better to just unconditionally do the wakeup. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'mm/mm_slot.h')
0 files changed, 0 insertions, 0 deletions