Re: owner field in `struct fs'

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sat Jun 24 2000 - 11:18:28 EST


Alan Cox writes:
> > explicit module support, I'm wondering what's wrong with simply
> > controlling the module count in the module's open()/release()
> > functions in these cases?
>
> By the time you enter the open function it may have been unloaded

So unregister driver methods early on in module removal (before code
pages are removed) and wait for the module usage counter to hit zero
again before returning from the module cleanup function.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:04 EST