Thread (31 messages) 31 messages, 2 authors, 2021-08-30

Re: [PATCH 03/10] scsi/sr: use blk_cleanup_disk() instead of put_disk()

From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2021-08-27 18:29:28
Also in: dm-devel, linux-block, linux-nvme, linux-scsi, lkml

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:
quoted
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@kernel.org>
.. not needed as the cleanup is done by the core scsi code.
Dropped.

  Luis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help