commit | 6a03cd9843fa4dcf827dc3ad60fa9b4217f3057c | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jun 16 09:15:47 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jun 16 06:53:51 2021 -0600 |
tree | ac4f47b663b2134ecade6e6657f7625c82691591 | |
parent | 07a719f8fdbe4ae0f825fa1a6d2755a63deb265e [diff] |
loop: fix order of cleaning up the queue and freeing the tagset We must release the queue before freeing the tagset. Fixes: 1c99502fae35 ("loop: use blk_mq_alloc_disk and blk_cleanup_disk") Reported-by: Bruno Goncalves <bgoncalv@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>