Skip to content

Commit

Permalink
Documentation: Fix grammatical error in sysctl/fs.txt & clarify negat…
Browse files Browse the repository at this point in the history
…ive dentry

Fix a grammatical error in the dentry-state text and clarify the usage
of negative dentries.

Fixes: af0c9af ("fs/dcache: Track & report number of negative dentries")
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Waiman Long authored and Linus Torvalds committed Feb 11, 2019
1 parent d139371 commit 1413d9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/sysctl/fs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

==============================================================

Expand Down

0 comments on commit 1413d9a

Please sign in to comment.