Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933079Ab3CUWDs (ORCPT ); Thu, 21 Mar 2013 18:03:48 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:38304 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932167Ab3CUWDd (ORCPT ); Thu, 21 Mar 2013 18:03:33 -0400 Date: Thu, 21 Mar 2013 22:03:30 +0000 From: Al Viro To: Linus Torvalds Cc: Dave Jones , Linux Kernel Subject: Re: VFS deadlock ? Message-ID: <20130321220330.GD21522@ZenIV.linux.org.uk> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 894 Lines: 20 On Thu, Mar 21, 2013 at 02:57:29PM -0700, Linus Torvalds wrote: > 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. 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/