Re: Several Misc SCSI updates...

Linus Torvalds (torvalds@transmeta.com)
Sun, 17 Nov 2002 13:40:19 -0800 (PST)


On Sun, 17 Nov 2002, Doug Ledford wrote:
>
> Won't work. module->live is what Rusty uses to indicate that the module
> is in the process of unloading, which is when we *do* want the attempt to
> module_get() to fail.

That's fine, as long as "module_get()" is the only thing that cares. Just
make it go "live" early as you indicate, and everybody should be happy. I
certainly agree that it should be illegal to do more module_get()'s once
we've already started unloading..

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/