original_kernel/include/scsi
James Bottomley 146f7262ee [SCSI] Alter the scsi_add_device() API to conform to what users expect
The original API returned either an ERR_PTR() or a refcounted sdev.
Unfortunately, if it's successful, you need to do a scsi_device_put() on
the sdev otherwise the refcounting is wrong.

Everyone seems to expect that scsi_add_device() should be callable
without doing the ref put, so alter the API so it is (we still have
__scsi_add_device with the original behaviour).

The only actual caller that needs altering is the one in firewire ...
not because it gets this right, but because it acts on the error if one
is returned.

Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-09-10 14:43:25 -05:00
..
scsi.h
scsi_cmnd.h
scsi_dbg.h [SCSI] convert sd to scsi_execute_req (and update the scsi_execute_req API) 2005-08-28 11:33:52 -05:00
scsi_device.h [SCSI] Alter the scsi_add_device() API to conform to what users expect 2005-09-10 14:43:25 -05:00
scsi_devinfo.h
scsi_driver.h
scsi_eh.h Merge by hand (conflicts in sd.c) 2005-09-06 17:52:54 -05:00
scsi_host.h [SCSI] switch EH thread startup to the kthread API 2005-09-06 17:26:06 -05:00
scsi_ioctl.h
scsi_request.h [SCSI] convert SPI transport class to scsi_execute 2005-08-28 11:31:14 -05:00
scsi_tcq.h
scsi_transport.h
scsi_transport_fc.h [SCSI] fc_transport: Generalize WWN to u64 interger conversions. 2005-09-10 11:10:43 -05:00
scsi_transport_iscsi.h
scsi_transport_sas.h [SCSI] SAS transport class 2005-09-09 16:43:37 -05:00
scsi_transport_spi.h
scsicam.h
sg.h
sg_request.h