Arjan van de Ven wrote:
On Tue, 2006-02-28 at 16:33 +0530, Ashish Khurange wrote:
Hi,
From a given dentry, i want to generate that files absolute path.
absolute path in what namespace???
I'm sorry I may not be using right terms. Please consider.
Pathname that starts with root of the filesystem '/'.
I have one basic query. I tried to google for 'dentry object' but didnt
found the right answer. When I have dentry object of a file. Can I
traverse till root's dentry using dentry->d_parent, step by step?
How does kernel shrinks dentry cache? Does it removes any of the dentry
which is in 'parent path' of the concerned dentry object?
If kernel can remove such parent dentry, what happens when I acces
dentry->d_parent.
Thanks,
- Ashish
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/