stack overflow in linux kernel module
Hi all,
I am writing a linux kernel module to find the mount point from 'struct file'. I get the 'f_vfsmnt struct' from 'struct file' and recursively use the 'dentry' structure and 'qstr' to get the mount point .
When i load the module, i am getting do_IRQ stack overflow error in my module and the system hangs after somtime.
Could someone help me with the reasons for stack overflow in kernel module or an alternate way to get the mount point from 'struct file' or filedescriptor.
I can post the code if needed.
|