archive mirror
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <>
To: Ming Lei <>,
Cc: "Martin K . Petersen" <>
Subject: Re: [PATCH] scsi: sd: free 'scsi_disk' device via put_device
Date: Mon, 13 Sep 2021 23:43:54 -0400	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, 6 Sep 2021 17:01:12 +0800, Ming Lei wrote:

> Once the device is initialized via device_initialize(), it should be
> freed via put_device, so fix it. Meantime get the parent before adding
> device, the release handler can work as expected always.

Applied to 5.15/scsi-fixes, thanks!

[1/1] scsi: sd: free 'scsi_disk' device via put_device

Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2021-09-14  3:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06  9:01 [PATCH] scsi: sd: free 'scsi_disk' device via put_device Ming Lei
2021-09-07  0:30 ` Bart Van Assche
2021-09-07  6:53 ` Christoph Hellwig
2021-09-14  3:43 ` Martin K. Petersen [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:

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

  git send-email \ \ \ \ \

* 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).