Reputation: 40578
According to the list of API changes in the 2.6 kernel series on LWN the .owner
field of struct proc_dir_entry
was removed in the 2.6.30 Kernel.
So here's a couple of questions:
I ask the first question because while the LKMPG set's this field in many of it's examples, procfs_example.c from the Kernel Documentation never does.
Upvotes: 4
Views: 4064
Reputation: 7034
You may want to have a look at the bug filed in bugzilla.kernel.org. It has complete description of the issue and possible solution. Bugid is 12454
Hope this answers your question.
Upvotes: 1