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(-)
--
1.7.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html