I need to get the full pathname for a given dentry. After searching through previous posts my code looks like this:
... struct nameidata nd; user_path_walk( dentry->d_name.name, &nd ); fullname = d_path( nd.dentry, nd.mnt, fullname, namelen ); ...
I get an "Unable to handle kernel paging request..." as soon as d_path is called.
Any advice?
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/