Re: [PATCH V2 9/9 linux-next] udf: add function definition for udf_find_entry()

From: Jan Kara
Date: Thu Apr 09 2015 - 05:26:36 EST


On Wed 08-04-15 21:23:59, Fabian Frederick wrote:
> Function return changed lately.
>
> Suggested-by: Jan Kara <jack@xxxxxxx>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
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@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/