All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>
Cc: penguin-kernel@i-love.sakura.ne.jp,
	syzbot <syzbot+28a66a9fbc621c939000@syzkaller.appspotmail.com>,
	linux-block@vger.kernel.org
Subject: Re: [PATCH] block: fix error unwinding in device_add_disk
Date: Tue, 21 Dec 2021 09:32:23 -0700	[thread overview]
Message-ID: <164010434373.606970.3230458552695453398.b4-ty@kernel.dk> (raw)
In-Reply-To: <20211221161851.788424-1-hch@lst.de>

On Tue, 21 Dec 2021 17:18:51 +0100, Christoph Hellwig wrote:
> One device_add is called disk->ev will be freed by disk_release, so we
> should free it twice.  Fix this by allocating disk->ev after device_add
> so that the extra local unwinding can be removed entirely.
> 
> Based on an earlier patch from Tetsuo Handa.
> 
> 
> [...]

Applied, thanks!

[1/1] block: fix error unwinding in device_add_disk
      commit: 99d8690aae4b2f0d1d90075de355ac087f820a66

Best regards,
-- 
Jens Axboe



      reply	other threads:[~2021-12-21 16:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 16:18 [PATCH] block: fix error unwinding in device_add_disk Christoph Hellwig
2021-12-21 16:32 ` 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=164010434373.606970.3230458552695453398.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    --cc=syzbot+28a66a9fbc621c939000@syzkaller.appspotmail.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.