Re: [PATCH] pull scsi_scan_host out of scsi_add_host

Christoph Hellwig
2003-07-08T08:08:49Z

On Tue, Jul 08, 2003 at 01:03:35AM -0700, Mike Anderson wrote:
> Would we want to make a symmetric interface and pull the
> unscan out of scsi_remove_host also?

It would make sense if we something like an unscan. But the closest
thing to an unscan is scsi_forget_host which just releases the
scsi_device structures. Given that we can't free a host without
releasing the devices first and scsi_forget_host is a noop if
shost->my_devices is empty I don't this makes gains anything.