Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b172b6e9 authored by FUJITA Tomonori's avatar FUJITA Tomonori Committed by James Bottomley
Browse files

[SCSI] destroy scsi_bidi_sdb_cache in scsi_exit_queue



Needs to call kmem_cache_destroy for scsi_bidi_sdb_cache in
scsi_exit_queue.

Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent c639d14e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1712,6 +1712,7 @@ void scsi_exit_queue(void)
	int i;

	kmem_cache_destroy(scsi_io_context_cache);
	kmem_cache_destroy(scsi_bidi_sdb_cache);

	for (i = 0; i < SG_MEMPOOL_NR; i++) {
		struct scsi_host_sg_pool *sgp = scsi_sg_pools + i;