[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extracting path from struct file



Hi,

I'd like to extract the whole file path from a "struct file"-pointer.

I tried an implementation which runs through f_dentry->d_parent's to
join their d_name.name together..but maybe there is already a 
function/macro defined which does that job better?

thanks
jonathan

-- 
Key fingerprint = 2A55 EB7C B7EA 6336 7767  4A47 910A 307B 1333 BD6C


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/