Re: [PATCH] DOCUMENTATION: Correct inline docs to match parm name.

From: Randy Dunlap
Date: Tue Nov 30 2010 - 11:39:17 EST


On Tue, 30 Nov 2010 06:31:07 -0500 (EST) Robert P. J. Day wrote:

>
> Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
>
> ---
>
> the actual parameter name is "parent", not "dparent".
>
>
> diff --git a/fs/dcache.c b/fs/dcache.c
> index 23702a9..eaebae4 100644
> --- a/fs/dcache.c
> +++ b/fs/dcache.c
> @@ -1485,7 +1485,7 @@ out:
> /**
> * d_validate - verify dentry provided from insecure source
> * @dentry: The dentry alleged to be valid child of @dparent
> - * @dparent: The parent dentry (known to be valid)
> + * @parent: The parent dentry (known to be valid)
> *
> * An insecure source has sent us a dentry, here we verify it and dget() it.
> * This is used by ncpfs in its readdir implementation.

I've already sent this patch to Al Viro (VFS maintainer).

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/