diff options
| author | Dan Williams <[email protected]> | 2011-11-18 01:59:47 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2012-02-19 19:37:47 +0000 |
| commit | 735f7d2fedf57380214221be7bed7f62d729e262 (patch) | |
| tree | 067db49c22dcbdf695a6517a6c8664b6bb2c2d32 /drivers/scsi/libsas/sas_init.c | |
| parent | [SCSI] libsas: kill sas_slave_destroy (diff) | |
| download | kernel-735f7d2fedf57380214221be7bed7f62d729e262.tar.gz kernel-735f7d2fedf57380214221be7bed7f62d729e262.zip | |
[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 <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions
