View | Details | Raw Unified | Return to bug 215647
Collapse All | Expand All

(-)linux-5.10.92/drivers/block/aoe/aoedev.c (-1 / +1 lines)
Lines 277-285 freedev(struct aoedev *d) Link Here
277
	if (d->gd) {
277
	if (d->gd) {
278
		aoedisk_rm_debugfs(d);
278
		aoedisk_rm_debugfs(d);
279
		del_gendisk(d->gd);
279
		del_gendisk(d->gd);
280
		blk_cleanup_queue(d->blkq);
280
		put_disk(d->gd);
281
		put_disk(d->gd);
281
		blk_mq_free_tag_set(&d->tag_set);
282
		blk_mq_free_tag_set(&d->tag_set);
282
		blk_cleanup_queue(d->blkq);
283
	}
283
	}
284
	t = d->targets;
284
	t = d->targets;
285
	e = t + d->ntargets;
285
	e = t + d->ntargets;

Return to bug 215647