Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756497Ab0BBSKN (ORCPT ); Tue, 2 Feb 2010 13:10:13 -0500 Received: from alt.dspnet.fr.eu.org ([213.186.44.138]:4240 "EHLO dspnet.fr.eu.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756335Ab0BBSKK (ORCPT ); Tue, 2 Feb 2010 13:10:10 -0500 Date: Tue, 2 Feb 2010 19:10:07 +0100 From: Olivier Galibert To: Al Viro Cc: "Eric W. Biederman" , Linus Torvalds , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH][RFC] %pd - for printing dentry name Message-ID: <20100202181007.GA75577@dspnet.fr.eu.org> Mail-Followup-To: Olivier Galibert , Al Viro , "Eric W. Biederman" , Linus Torvalds , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <20100201222511.GA12882@ZenIV.linux.org.uk> <20100201231847.GC12882@ZenIV.linux.org.uk> <20100202010653.GD12882@ZenIV.linux.org.uk> <20100202170157.GH12882@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100202170157.GH12882@ZenIV.linux.org.uk> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 553 Lines: 14 On Tue, Feb 02, 2010 at 05:01:57PM +0000, Al Viro wrote: > + * - 'd' For dentry name. NOTE: don't use under dentry->d_lock, there > + * you can safely use ->d_name.name instead. You probably can get rid of the caveat, then, right? "Don't use d_name.name in printk" is easier to grep for :-) OG. -- 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/