[PATCH 03/10] scsi/sr: use blk_cleanup_disk() instead of put_disk()
Luis Chamberlain
mcgrof at kernel.org
Fri Aug 27 11:28:57 PDT 2021
On Tue, Aug 24, 2021 at 07:00:27AM +0100, Christoph Hellwig wrote:
> On Mon, Aug 23, 2021 at 01:29:23PM -0700, Luis Chamberlain wrote:
> > The single put_disk() is useful if you know you're not doing
> > a cleanup after add_disk(), but since we want to add support
> > for that, just use the normal form of blk_cleanup_disk() to
> > cleanup the queue and put the disk.
> >
> > Signed-off-by: Luis Chamberlain <mcgrof at kernel.org>
>
> .. not needed as the cleanup is done by the core scsi code.
Dropped.
Luis
More information about the Linux-nvme
mailing list