> > void
> > -zfcp_dummy_release(struct device *dev)
> > +zfcp_generic_services_release(struct device *dev)
> > {
> > - return;
> > + kfree(dev);
> > }
> >
> > /*
>
> I thought that having release methods that just called kfree() were
> also verboten?
We do a kmalloc(sizeof(struce device),...) somewhere and this
is how we get rid of it again.
How are we supposed to free this object otherwise? The release
function gets called when there is no more reference to this
object and that's the earliest point we may free it.
Thanks,
Heiko
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html