aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorAlan Huang <[email protected]>2025-06-13 14:54:59 +0000
committerKent Overstreet <[email protected]>2025-06-16 02:11:55 +0000
commit9b54efe66c9b44e7446e8a81a058c014cd43661d (patch)
tree9758575a268a49bd7637a62b874353586530211f /fs/bcachefs/btree_trans_commit.c
parentbcachefs: Don't allocate new memory when mempool is exhausted (diff)
downloadkernel-9b54efe66c9b44e7446e8a81a058c014cd43661d.tar.gz
kernel-9b54efe66c9b44e7446e8a81a058c014cd43661d.zip
bcachefs: Fix alloc_req use after free
Now the alloc_req is allocated from the bump allocator, if there is reallocation, the memory of alloc_req would be frees, fix by delaying the reallocation to transaction restart, it has to restart anyway. Reported-by: [email protected] Signed-off-by: Alan Huang <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions