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

Mike Anderson
2003-05-12T18:03:44Z

James Bottomley [James.Bottomley@steeleye.com] wrote:
> 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?
>

I have been told that we you do not need to call
class_device_remove_files as the cleanup functionality of *_remove_files
happens implicitly through the call to sysfs_remove_dir. I will verify
this.

If we needed to add this back in we would add it to scsi_sysfs_remove_host
as they are created in scsi_sysfs_add_host.