]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] destroy scsi_bidi_sdb_cache in scsi_exit_queue
authorFUJITA Tomonori <tomof@acm.org>
Fri, 25 Jan 2008 14:25:13 +0000 (23:25 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 30 Jan 2008 19:14:25 +0000 (13:14 -0600)
Needs to call kmem_cache_destroy for scsi_bidi_sdb_cache in
scsi_exit_queue.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_lib.c

index e1c7eebfe9070130acb12648abec945c604a32a7..7bfec7e7a8a0b2aff8f0c70c49b190e3b54a87b6 100644 (file)
@@ -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;