On Tue, Aug 13, 2019 at 09:03:58PM -0400, Jeff Mahoney wrote: > When btrfs_add_to_fsid fails in mkfs we try to close the ctree. That > complains that we already have a transaction open. We should be taking > the error path and exit cleanly without writing. > > Signed-off-by: Jeff Mahoney <je...@suse.com>
I've merged 1-3, splitting some of the patches. Patch 4 is broken for some of the resize format and can't be trivially fixed. I'll add a test so we have better coverage for further development.