Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932699Ab3CUV5d (ORCPT ); Thu, 21 Mar 2013 17:57:33 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:38182 "EHLO mail-vc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932353Ab3CUV5a (ORCPT ); Thu, 21 Mar 2013 17:57:30 -0400 MIME-Version: 1.0 In-Reply-To: <20130321215502.GC21522@ZenIV.linux.org.uk> References: <20130321202635.GA16406@redhat.com> <20130321203639.GC16406@redhat.com> <20130321204704.GZ21522@ZenIV.linux.org.uk> <20130321210255.GD16406@redhat.com> <20130321212617.GA21522@ZenIV.linux.org.uk> <20130321214118.GA25517@redhat.com> <20130321215502.GC21522@ZenIV.linux.org.uk> Date: Thu, 21 Mar 2013 14:57:29 -0700 X-Google-Sender-Auth: bFCX9Zte-h252g3IgAL295u9dDI Message-ID: Subject: Re: VFS deadlock ? From: Linus Torvalds To: Al Viro Cc: Dave Jones , Linux Kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 728 Lines: 18 On Thu, Mar 21, 2013 at 2:55 PM, Al Viro 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/