Skip to contentSkip to conversation

Documentation: Fix grammatical error in sysctl/fs.txt & clarify negative dentry

PATCH In review Waiman Long 3 participants 3 messages Feb 7, 2019 – Feb 11, 2019 Documentation

lore
Share & tools
lore
#0 lore raw

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

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")
---
 Documentation/sysctl/fs.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/sysctl/fs.txt +3 -1
index 58649bd..ebc679b 100644
@@ -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.
 
 ==============================================================
 
Signature · 1 line
1.8.3.1
maintainer
#1 lore raw
Quoted 4 lines · On Thu, 7 Feb 2019 15:15:42 -0500 Waiman Long <[email protected]> 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

Quoted 20 lines
---
 Documentation/sysctl/fs.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/sysctl/fs.txt +3 -1
index 58649bd..ebc679b 100644
@@ -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.
 
 ==============================================================
 
#2 lore raw
Quoted 2 lines · Jonathan Corbet

Linus, perhaps you'd like to take this one directly?

Done.

Linus