Dan Williams 735f7d2fed [SCSI] libsas: fix domain_device leak
Arrange for the deallocation of a struct domain_device object when it no
longer has:
1/ any children
2/ references by any scsi_targets
3/ references by a lldd

The comment about domain_device lifetime in
Documentation/scsi/libsas.txt is stale as it appears mainline never had
a version of a struct domain_device that was registered as a kobject.
We now manage domain_device reference counts on behalf of external
agents.

Reviewed-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-02-19 13:37:47 -06:00
..
2011-10-16 11:07:30 -05:00
2009-04-03 09:23:11 -05:00
2011-03-31 11:26:23 -03:00
2011-09-27 18:08:04 +02:00
2011-03-31 11:26:23 -03:00
2007-10-20 02:13:26 +02:00
2012-02-19 08:09:01 -06:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2006-10-03 22:46:31 +02:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2006-11-30 05:21:10 +01:00
2005-04-16 15:20:36 -07:00
2012-01-16 12:34:12 +04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00