Re: [PATCH] scsi_host sysfs updates scsi-misc-2.5 [0/2]

James Bottomley
2003-05-12T17:38:12Z

On Mon, 2003-05-12 at 01:38, Mike Anderson wrote:
> Can you run this on your system and see if it addresses your issue? If
> not I can hack scsi_debug to make back to back scsi_register /
> scsi_unregister calls.

Surprisingly, it still fails. I've debugged the refcounting and I see
it fall to zero in scsi_host_put but the dev release method doesn't
trigger for no reason I can see.

It's probably a kobject initialisation problem somewhere.

Also, eventually, don't we need to do class_device_remove_files() on the
created class files, so that will have to be done in release and we've
got symmetry problems again?

James