linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] Documentation: Fix grammatical error in sysctl/fs.txt & clarify negative dentry
@ 2019-02-07 20:15 Waiman Long
  2019-02-11 15:39 ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Waiman Long @ 2019-02-07 20:15 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: linux-doc, linux-kernel, Andrew Morton, Kees Cook,
	Luis Chamberlain, Linus Torvalds, Alexander Viro, Waiman Long

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")

Signed-off-by: Waiman Long <longman@redhat.com>
---
 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.
 
 ==============================================================
 
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] Documentation: Fix grammatical error in sysctl/fs.txt & clarify negative dentry
  2019-02-07 20:15 [PATCH v2] Documentation: Fix grammatical error in sysctl/fs.txt & clarify negative dentry Waiman Long
@ 2019-02-11 15:39 ` Jonathan Corbet
  2019-02-11 17:11   ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Corbet @ 2019-02-11 15:39 UTC (permalink / raw)
  To: Waiman Long
  Cc: linux-doc, linux-kernel, Andrew Morton, Kees Cook,
	Luis Chamberlain, Linus Torvalds, Alexander Viro

On Thu,  7 Feb 2019 15:15:42 -0500
Waiman Long <longman@redhat.com> 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@redhat.com>
> ---
>  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.
>  
>  ==============================================================
>  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] Documentation: Fix grammatical error in sysctl/fs.txt & clarify negative dentry
  2019-02-11 15:39 ` Jonathan Corbet
@ 2019-02-11 17:11   ` Linus Torvalds
  0 siblings, 0 replies; 3+ messages in thread
From: Linus Torvalds @ 2019-02-11 17:11 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: Waiman Long, linux-doc, Linux List Kernel Mailing, Andrew Morton,
	Kees Cook, Luis Chamberlain, Alexander Viro

On Mon, Feb 11, 2019 at 7:39 AM Jonathan Corbet <corbet@lwn.net> wrote:
>
> Linus, perhaps you'd like to take this one directly?

Done.

               Linus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-11 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 20:15 [PATCH v2] Documentation: Fix grammatical error in sysctl/fs.txt & clarify negative dentry Waiman Long
2019-02-11 15:39 ` Jonathan Corbet
2019-02-11 17:11   ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).