Btrfs: if we aren't committing just end the transaction if we error out