[lkml]   [2008]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 6/9] firewire: fw-sbp2: don't add scsi_device twice
    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
    -=====-==--- --=- -==--

     \ /
      Last update: 2008-02-12 09:59    [W:0.019 / U:37.568 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site