Re: [PATCH v2] Documentation: Fix grammatical error in sysctl/fs.txt & clarify negative dentry

From: Jonathan Corbet
Date: Mon Feb 11 2019 - 10:39:18 EST


On Thu, 7 Feb 2019 15:15:42 -0500
Waiman Long <longman@xxxxxxxxxx> wrote:

> Fix a grammatical error in the dentry-state text and clarify the usage
> of negative dentries.
>
> Fixes: af0c9af1b3f66 ("fs/dcache: Track & report number of negative dentries")

Linus, perhaps you'd like to take this one directly? It seems that the
above-reference comment went in directly, so I can't apply this fix now
without back-merging 5.0-rc5 or so...

Thanks,

jon

> Signed-off-by: Waiman Long <longman@xxxxxxxxxx>
> ---
> Documentation/sysctl/fs.txt | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/sysctl/fs.txt b/Documentation/sysctl/fs.txt
> index 58649bd..ebc679b 100644
> --- a/Documentation/sysctl/fs.txt
> +++ b/Documentation/sysctl/fs.txt
> @@ -80,7 +80,9 @@ nonzero when shrink_dcache_pages() has been called and the
> dcache isn't pruned yet.
>
> nr_negative shows the number of unused dentries that are also
> -negative dentries which do not mapped to actual files.
> +negative dentries which do not map to any files. Instead,
> +they help speeding up rejection of non-existing files provided
> +by the users.
>
> ==============================================================
>