linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hch@infradead.org (Christoph Hellwig)
Subject: [PATCH nvme-4.18] nvme/pci: Hold controller reference during async probe
Date: Tue, 8 May 2018 22:12:17 -0700	[thread overview]
Message-ID: <20180509051217.GC28673@infradead.org> (raw)
In-Reply-To: <20180507164322.28571-1-keith.busch@intel.com>

On Mon, May 07, 2018@10:43:22AM -0600, Keith Busch wrote:
> It is possible the driver's remove may have freed the controller if
> the remove callback is invoked prior to the async_schedule starting
> the reset_work. This patch fixes that by holding a reference on the
> controller.
> 
> Reported-by: Mikulas Patocka <mpatocka at redhat.com>
> Signed-off-by: Keith Busch <keith.busch at intel.com>

Looks fine,

Reviewed-by: Christoph Hellwig <hch at lst.de>

      reply	other threads:[~2018-05-09  5:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07 16:43 [PATCH nvme-4.18] nvme/pci: Hold controller reference during async probe Keith Busch
2018-05-09  5:12 ` Christoph Hellwig [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=20180509051217.GC28673@infradead.org \
    --to=hch@infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).