I've had a look at the excellent blog posting regarding Suterusu that TurboBorland123 mentioned but not the code. I'll have a dig through your latest repo. Thanks!
That certainly a cleaner way of getting access to the file_operations structure - and obviously it's not dependent on ext4.
Certain thing's aren't going to be resolved at runtime though - even with a lookup to an object - such a global variables (mutexes and spinlocks). Since I decided I was going to have to put this anyway I thought it would be a simpler learning curve for the reader (although as you say - certainly not as clean).
View all comments
Show parent comment
2
u/nnewson Jun 22 '13
I've had a look at the excellent blog posting regarding Suterusu that TurboBorland123 mentioned but not the code. I'll have a dig through your latest repo. Thanks!
That certainly a cleaner way of getting access to the file_operations structure - and obviously it's not dependent on ext4.
Certain thing's aren't going to be resolved at runtime though - even with a lookup to an object - such a global variables (mutexes and spinlocks). Since I decided I was going to have to put this anyway I thought it would be a simpler learning curve for the reader (although as you say - certainly not as clean).