Messages in this thread | | | Date | Thu, 21 Mar 2013 22:03:30 +0000 | From | Al Viro <> | Subject | Re: VFS deadlock ? |
| |
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@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.
I would be rather surprised if the pathnames proper would turn out to be different, actually...
| |