![]() | |||||||||||||
Messages in this thread |
Hi, On Mon, 5 Aug 2002, Richard Gooch wrote: > > > Yes. RTFS. > > > > I'm trying - without getting headache. > > Take a valium. Staying away from devfs sources is cheaper. > > In the "devfs=only" case, where is the module count incremented, when a > > block device is opened? > > The module count is incremented when the device is opened, > irrespective of whether it's a character or block device, or even a > "regular" file. Would you please answer my question and tell me where that exactly happens in that case? > > > No. I leverage fops_get(), a common function. > > > > Which is also insufficiently protected. > > Incorrect. What protects the module from unloading from getting the ops pointer until try_inc_mod_count()? bye, Roman - 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/ | ||||||||||||
| Last update: 2005-03-22 12:27 [from the cache] ©2003-2008 | |||||||||||||