Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756584Ab2J2WeK (ORCPT ); Mon, 29 Oct 2012 18:34:10 -0400 Received: from mail.kernel.org ([198.145.19.201]:52831 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754524Ab2J2WeH (ORCPT ); Mon, 29 Oct 2012 18:34:07 -0400 Date: Mon, 29 Oct 2012 15:34:04 -0700 From: Greg KH To: Zhi Yong Wu Cc: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, linuxram@linux.vnet.ibm.com, viro@zeniv.linux.org.uk, david@fromorbit.com, tytso@mit.edu, cmm@us.ibm.com, wuzhy@linux.vnet.ibm.com, wenqing.lz@taobao.com Subject: Re: [RFC v4+ hot_track 13/19] debugfs: introduce one function Message-ID: <20121029223404.GA20486@kroah.com> References: <1351485061-12297-1-git-send-email-zwu.kernel@gmail.com> <1351485061-12297-14-git-send-email-zwu.kernel@gmail.com> <20121029181135.GB3605@kroah.com> 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: 959 Lines: 21 On Tue, Oct 30, 2012 at 06:25:50AM +0800, Zhi Yong Wu wrote: > On Tue, Oct 30, 2012 at 2:11 AM, Greg KH wrote: > > On Mon, Oct 29, 2012 at 12:30:55PM +0800, zwu.kernel@gmail.com wrote: > >> From: Zhi Yong Wu > >> > >> The debugfs function is used to get expected dentry. > > > > Huh? Why do you need this? Why haven't you added documentation for the > It is used to determine if one sysfs directory has been created. OK, i > will add some doc, thanks for your suggestion. You didn't answer the "why" part here. How come you think you need this? Can't you just save off the dentry you created somewhere so you don't need to look it up again? greg k-h -- 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/