All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Qu Wenruo <wqu@suse.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v2 0/2] btrfs-progs: bug fixes exposed during delayed chunk items insertion
Date: Mon, 25 Apr 2022 18:56:51 +0200	[thread overview]
Message-ID: <20220425165651.GQ18596@twin.jikos.cz> (raw)
In-Reply-To: <cover.1650366929.git.wqu@suse.com>

On Tue, Apr 19, 2022 at 07:17:40PM +0800, Qu Wenruo wrote:
> [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

Added to devel, thanks.

      parent reply	other threads:[~2022-04-25 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-19 11:17 [PATCH v2 0/2] btrfs-progs: bug fixes exposed during delayed chunk items insertion Qu Wenruo
2022-04-19 11:17 ` [PATCH v2 1/2] btrfs-progs: fix a memory leak when starting a transaction on fs with error Qu Wenruo
2022-04-19 11:23   ` Johannes Thumshirn
2022-04-19 11:17 ` [PATCH v2 2/2] btrfs-progs: fix an error path which can lead to empty device list Qu Wenruo
2022-04-19 11:24   ` Johannes Thumshirn
2022-04-25 16:56 ` David Sterba [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220425165651.GQ18596@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=wqu@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.