diff options
| author | Alan Huang <[email protected]> | 2025-06-13 14:54:59 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-06-16 02:11:55 +0000 |
| commit | 9b54efe66c9b44e7446e8a81a058c014cd43661d (patch) | |
| tree | 9758575a268a49bd7637a62b874353586530211f /fs/bcachefs/btree_trans_commit.c | |
| parent | bcachefs: Don't allocate new memory when mempool is exhausted (diff) | |
| download | kernel-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
