Blame SOURCES/e2fsprogs-1.42.9-14-Clarify-how-the-description-of-the-dir_nlink-feature.patch

1f0cb0
From 72f9ce9c2e6b7b41963c36096d3955e010df9033 Mon Sep 17 00:00:00 2001
1f0cb0
From: Theodore Ts'o <tytso@mit.edu>
1f0cb0
Date: Sun, 23 Jul 2017 18:51:22 -0400
1f0cb0
Subject: [PATCH 1/2] Clarify how the description of the dir_nlink feature in
1f0cb0
 the ext4 man page
1f0cb0
1f0cb0
commit 7d8f358cdce948df57b1001b9c278f33519afa86
1f0cb0
1f0cb0
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1f0cb0
---
1f0cb0
 misc/ext4.5.in | 7 ++++++-
1f0cb0
 1 file changed, 6 insertions(+), 1 deletion(-)
1f0cb0
1f0cb0
diff --git a/misc/ext4.5.in b/misc/ext4.5.in
1f0cb0
index dcef6c08..366916d8 100644
1f0cb0
--- a/misc/ext4.5.in
1f0cb0
+++ b/misc/ext4.5.in
1f0cb0
@@ -68,7 +68,12 @@ ext2 file systems.
1f0cb0
 .TP
1f0cb0
 .B dir_nlink
1f0cb0
 .br
1f0cb0
-This ext4 feature allows more than 65000 subdirectories per directory.
1f0cb0
+Normally ext4 allows an inode to have no more than 65,000 hard links.
1f0cb0
+This applies to files as well as directories, which means that there can
1f0cb0
+be no more than 64,998 subdirectories in a directory (because each of
1f0cb0
+the '..' entries counts as a hard link).  This feature lifts this limit
1f0cb0
+by causing ext4 to use a links count of 1 to indicate that the number of
1f0cb0
+hard links to a directory is not known.
1f0cb0
 .TP
1f0cb0
 .B extent
1f0cb0
 .br
1f0cb0
-- 
1f0cb0
2.20.1
1f0cb0