diff options
author | FUJITA Tomonori <tomof@acm.org> | 2008-01-25 09:25:13 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-30 14:14:25 -0500 |
commit | b172b6e99e948b6abb180082cfeb8f9b1450ebff (patch) | |
tree | bef3daf89b0ff8124ad3db6660ea9acf0e22c466 /drivers | |
parent | c639d14e2f70d086842d37fb8e4f5ab9bd56af2e (diff) |
[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: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index e1c7eebfe907..7bfec7e7a8a0 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -1712,6 +1712,7 @@ void scsi_exit_queue(void) | |||
1712 | int i; | 1712 | int i; |
1713 | 1713 | ||
1714 | kmem_cache_destroy(scsi_io_context_cache); | 1714 | kmem_cache_destroy(scsi_io_context_cache); |
1715 | kmem_cache_destroy(scsi_bidi_sdb_cache); | ||
1715 | 1716 | ||
1716 | for (i = 0; i < SG_MEMPOOL_NR; i++) { | 1717 | for (i = 0; i < SG_MEMPOOL_NR; i++) { |
1717 | struct scsi_host_sg_pool *sgp = scsi_sg_pools + i; | 1718 | struct scsi_host_sg_pool *sgp = scsi_sg_pools + i; |