Messages in this thread | | | Subject | Re: Probable module bug in linux-2.6.5-1.358 | From | Stephen Hemminger <> | Date | Thu, 07 Oct 2004 10:25:34 -0700 |
| |
Still haven't full source so this is still guess work. But assuming it is a character device, did you forget to add an owner field to the file ops structure?
static struct file_operations xxx_fops = { .owner = THIS_MODULE, .read = my_read, ...
The owner field is used by the character device layer to maintain module ref counts in 2.6.
- 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/
| |