On Thu, Mar 21, 2013 at 2:55 PM, Al Viro <v...@zeniv.linux.org.uk> wrote: > On Thu, Mar 21, 2013 at 02:47:06PM -0700, Linus Torvalds wrote: > >> It will also end up giving you >> the information about whether the dentry is unlinked or not. > > You also want to know if p2 is unlinked, though (and yes, it's dentry_path(), > of course - apologies for the braino).
Just do dentry_path on both p1 and p2. You'll have to have two different buffers for them, of course. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/