From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964863AbbDIJ0c (ORCPT ); Thu, 9 Apr 2015 05:26:32 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33760 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932750AbbDIJ01 (ORCPT ); Thu, 9 Apr 2015 05:26:27 -0400 Date: Thu, 9 Apr 2015 11:26:21 +0200 From: Jan Kara To: Fabian Frederick Cc: linux-kernel@vger.kernel.org, Jan Kara Subject: Re: [PATCH V2 9/9 linux-next] udf: add function definition for udf_find_entry() Message-ID: <20150409092621.GH18044@quack.suse.cz> References: <1428521039-18491-1-git-send-email-fabf@skynet.be> <1428521039-18491-10-git-send-email-fabf@skynet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1428521039-18491-10-git-send-email-fabf@skynet.be> 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 On Wed 08-04-15 21:23:59, Fabian Frederick wrote: > Function return changed lately. > > Suggested-by: Jan Kara > Signed-off-by: Fabian Frederick I've significantly extended the documentation of udf_find_entry() and folded this patch into the previous one. Honza > --- > fs/udf/namei.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/fs/udf/namei.c b/fs/udf/namei.c > index 891c067..1f8e4d0 100644 > --- a/fs/udf/namei.c > +++ b/fs/udf/namei.c > @@ -138,6 +138,18 @@ int udf_write_fi(struct inode *inode, struct fileIdentDesc *cfi, > return 0; > } > > +/** > + * udf_find_entry - find entry in given directory. > + * > + * @dir: directory inode > + * @child: qstr of the name > + * @fibh: udf file identifier buffer head > + * @cfi: current file identifier descriptor > + * > + * Return pointer to file identifier, NULL when nothing found or error code. > + */ > + > + > static struct fileIdentDesc *udf_find_entry(struct inode *dir, > const struct qstr *child, > struct udf_fileident_bh *fibh, > -- > 1.9.1 > -- Jan Kara SUSE Labs, CR