Re: VFS deadlock ?

From: Al Viro
Date: Thu Mar 21 2013 - 18:03:54 EST


On Thu, Mar 21, 2013 at 02:57:29PM -0700, Linus Torvalds wrote:
> On Thu, Mar 21, 2013 at 2:55 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> 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.

I would be rather surprised if the pathnames proper would turn out to be
different, actually...
--
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/