]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] scsi_transport_sas: add destructor for bsg
authorJames Bottomley <James.Bottomley@steeleye.com>
Fri, 20 Jul 2007 16:10:05 +0000 (11:10 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 20 Jul 2007 17:29:07 +0000 (12:29 -0500)
commitb6aff66953a29e40e0683be9b39c369ade143a5b
treecf46848d871cc9a7e8ca9ab662aae313b23467f2
parente7cbff13ec1f236a3f8341c503a2e1bd0cf692e5
[SCSI] scsi_transport_sas: add destructor for bsg

There's currently no destructor for the bsg components.  If you insert
and remove the module, you see the bsg devices building up and up.  This
patch adds the destructor in the correct place in the transport class so
that the bsg and request queue are removed just before the device
destruction.

Acked-by: FUJITA Tomonori <tomof@acm.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_sas.c
include/scsi/scsi_transport_sas.h