Re: VFS deadlock ?

From: Linus Torvalds
Date: Thu Mar 21 2013 - 17:47:13 EST


On Thu, Mar 21, 2013 at 2:41 PM, Dave Jones <davej@xxxxxxxxxx> wrote:
>
> How do I go from the dentry in p1 to the path d_absolute_path expects ?

You don't. Use dentry_path() instead. It will also end up giving you
the information about whether the dentry is unlinked or not.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/