Re: Fixing the main programmer thinko with the device model

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Bottomley
Date: Monday, March 24, 2008 - 11:08 am

On Mon, 2008-03-24 at 10:58 -0700, Greg KH wrote:

Possibly ... although the bsg routines aren't actually SCSI ones,
they're block.  The transport class destroy function also actually
picked up an implicit reference because of the class device rework you
just did.


Yes, that's why I think it has to be discovered via static analysis.


That's true, but irrelevant (and also soon to be untrue if we get rid of
the scsi_device class as you and Kay keep requesting).  The two calls
release references on the actual embedded generic device, it's nothing
to do with entangled lifetime rules.

James


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Fixing the main programmer thinko with the device model, James Bottomley, (Mon Mar 24, 8:39 am)
Re: Fixing the main programmer thinko with the device model, James Bottomley, (Mon Mar 24, 11:08 am)