Skip to content
Snippets Groups Projects
Commit 74a2b6ec authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

dm: cleanup cleanup_mapped_device


md->queue is now always set when md->disk is set, so simplify the
conditionals a bit.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20210804094147.459763-6-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d6263387
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment