Re: how to use scsi_remove_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Haverkamp wrote:
On Fri, 2006-03-17 at 21:30 +0100, Stefan Richter wrote:
But aacraid and mptsas call scsi_add_device + scsi_remove_device + scsi_device_put. AFAICS this is either one scsi_device_put too many or one scsi_device_get too few.
...
Looking at commsup.c, though, I think that the scsi_device_put is done
after the scsi_device_lookup
...

Yes, the scsi_device_put is correct since scsi_device_lookup took a reference.
--
Stefan Richter
-=====-=-==- --== =--==
http://arcgraph.de/sr/
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux