btrfs-progs: bug fixes exposed during delayed chunk items insertion
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Update the first patch to delaye memory allocation after all other checks
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: fix a memory leak when starting a transaction on fs with errorkernel-shared/ | +7 | 1 reply | |
| 2/2 | btrfs-progs: fix an error path which can lead to empty device listkernel-shared/ | +15 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Josef Bacik | Johannes Thumshirn |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] btrfs-progs: bug fixes exposed during delayed chunk items insertion
[CHANGELOG]
v2:
- Update the first patch to delaye memory allocation after all other checks
There are two bugs in the existing code base of btrfs-progs:
- Memory leak due to wrong error handling in btrfs_start_transaction()
- Empty rw device list due to missing error handling in create_chunk()
Just fix them.
Qu Wenruo (2):
btrfs-progs: fix a memory leak when starting a transaction on fs with
error
btrfs-progs: fix an error path which can lead to empty device list
kernel-shared/transaction.c | 13 +++++++------ kernel-shared/volumes.c | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 6 deletions(-)
Signature · 1 line
2.35.1