lkml.org 
[lkml]   [2015]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2 9/9 linux-next] udf: add function definition for udf_find_entry()
On Wed 08-04-15 21:23:59, Fabian Frederick wrote:
> Function return changed lately.
>
> Suggested-by: Jan Kara <jack@suse.cz>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
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 <jack@suse.cz>
SUSE Labs, CR


\
 
 \ /
  Last update: 2015-04-09 12:01    [W:0.166 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site