LKML Archive on lore.kernel.org
 help / 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	[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, back to index

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

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org linux-kernel@archiver.kernel.org
	public-inbox-index lkml


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/ public-inbox