mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: lars.ellenberg@linbit.com, Wu Bo <wubo40@huawei.com>
Cc: linux-kernel@vger.kernel.org, mcgrof@kernel.org,
	linfeilong@huawei.com, linux-block@vger.kernel.org
Subject: Re: [PATCH] drbd: Fix double free problem in drbd_create_device
Date: Thu, 04 Nov 2021 05:45:50 -0600	[thread overview]
Message-ID: <163602635079.21562.17386310945369487784.b4-ty@kernel.dk> (raw)
In-Reply-To: <1636013229-26309-1-git-send-email-wubo40@huawei.com>

On Thu, 4 Nov 2021 16:07:09 +0800, Wu Bo wrote:
> In drbd_create_device(), the 'out_no_io_page' lable has called
> blk_cleanup_disk() when return failed.
> 
> So remove the 'out_cleanup_disk' lable to avoid double free the
> disk pointer.
> 
> 
> [...]

Applied, thanks!

[1/1] drbd: Fix double free problem in drbd_create_device
      commit: 27548088ac628109f70eb0b1eb521d035844dba8

Best regards,
-- 
Jens Axboe



      parent reply	other threads:[~2021-11-04 11:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-04  8:07 Wu Bo
2021-11-04  8:47 ` Christoph Hellwig
2021-11-04 11:45 ` Jens Axboe [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=163602635079.21562.17386310945369487784.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=lars.ellenberg@linbit.com \
    --cc=linfeilong@huawei.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=wubo40@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®