Re: [PATCH 6/9] firewire: fw-sbp2: don't add scsi_device twice
From: Stefan Richter
Date: Tue Feb 12 2008 - 03:56:46 EST
Stefan Richter wrote:
> Jarod Wilson wrote:
>> Was the spurious __scsi_add_device simply failing, or was it causing
>> other problems as well?
> SCSI core looks up whether the scsi_target and the scsi_device already
> exist. If so, __scsi_add_device succeeds (there should also be a log
> message "scsi scan: device exists on %s\n") and returns the pointer to
> the existing scsi_device.
PS: This behavior is undocumented and we shouldn't rely on it.
--
Stefan Richter
-=====-==--- --=- -==--
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/