Re: [2.4.19] How to get the path name of a struct dentry

Christoph Hellwig (hch@infradead.org)
Wed, 12 Mar 2003 10:11:33 +0000


On Wed, Mar 12, 2003 at 10:33:05AM +0100, Torsten Foertsch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Assuming I have got a particular (struct dentry*)dp, how can I get it's full
> path name.

You can't. See d_path() for the information needed to get an absolute path.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/