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