David Chinner wrote:
On Mon, Jun 11, 2007 at 08:51:32AM +0200, Johan Andersson wrote:
Does anyone know of a good way to find one filename that points o a
certain inode?
We need an rmap....
We have some prototype linux code that does parent pointers (i.e.
each inode has a back pointer to it's parent inode), but that, IIUC,
is a long way from prime-time. Tim?
Cheers,
Dave.
I don't know about a "long way" (longer to fully supported, yes)
Firstly, I need to move its hooks out of linux-2.6/xfs_iops.c which were
referring to xfs inodes (instead of vnodes) probably back where they were in
xfs_vnodeops.c.
Nathan, did you have some other suggestion than this - unfortunately,
I haven't looked at this code (until recently) for a while.
Cheers,
Tim.
|