Btrfs: mount error handling fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Btrfs: fix memory leak in btrfs_parse_early_options()fs/ | +1 | 0 replies | |
| 2/5 | Btrfs: fix subvol_name leak on error in btrfs_mount()fs/ | +3 | 0 replies | |
| 3/5 | Btrfs: avoid null dereference and leaks when bailing from open_ctree()fs/ | +15 | 0 replies | |
| 4/5 | Btrfs: close devices on all error paths in open_ctree()fs/ | +3 | 0 replies | |
| 5/5 | Btrfs: rework error handling in btrfs_mount()fs/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Btrfs: mount error handling fixes
A bunch of fixes (memory leaks, NULL pointer dereferences and devices hanging in busy state) to sanitize error handling during mount sequence. This is on top of for-linus + slyfox's double-free fix.
Thanks,
Ilya
Ilya Dryomov (5):
Btrfs: fix memory leak in btrfs_parse_early_options()
Btrfs: fix subvol_name leak on error in btrfs_mount()
Btrfs: avoid null dereference and leaks when bailing from
open_ctree()
Btrfs: close devices on all error paths in open_ctree()
Btrfs: rework error handling in btrfs_mount()
fs/btrfs/disk-io.c | 42 ++++++++++++++++++------------------------ fs/btrfs/super.c | 47 +++++++++++++++++++++++++---------------------- 2 files changed, 43 insertions(+), 46 deletions(-)
Signature · 1 line
1.7.6.3