Dear Erik and Leonard,
I apologize for my previous message - you both were absolutely right and I
was absolutely wrong. Your idea works fine - I just tested it.
Originally, I thought you were suggesting to remove the whole decrement
statement, not just the conditional if().
The *only* part that I suggested for removal was the !scsi_loadable_module_flag
test in that if. The remaining claue should be left in.
> On Mon, 1 Jun 1998, Leonard N. Zubkoff wrote:
> > modules are removed in the reverse order that they were installed. I also
> > recall a proposal to keep track of where a driver module had been installed and
> > re-install at the same host number if possible. An interesting experiment
> > would be to remove the module test in:
> > if (max_scsi_hosts == next_scsi_host && !scsi_loadable_module_flag)
> > max_scsi_hosts--;
> > from hosts.c and see if the system operates properly.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org