Messages in this thread | | | Date | Thu, 21 Mar 2013 14:57:29 -0700 | Subject | Re: VFS deadlock ? | From | Linus Torvalds <> |
| |
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.
Linus
| |