]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsprogs-nlinks-flag.patch
authorAndreas Dilger <adilger@sun.com>
Sat, 2 Feb 2008 08:36:10 +0000 (01:36 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 11 Feb 2008 03:21:57 +0000 (22:21 -0500)
commite74a14964989acf4e2a5b8aaa8c381e95a5d1b3d
tree43c1bbb2e250dfdf024213d0d072d7180b38e824
parentdf1d0a8304dc834281d4958a911bef4bf60f3d40
e2fsprogs-nlinks-flag.patch

If there are any directories with > 65000 subdirectories, enable the
DIR_NLINK feature in the superblock.  If there are any directories
that formerly had > 65000 subdirs (i_links_count == 1) but no longer
do, don't consider this an error to alert the user about, but silently
fix the link count to the currently counted link count.

The DIR_NLINK feature is not disabled if set but no many-subdir directories
are found, so that the kernel is not required to enable it on-the-fly.  The
admin should set it with tune2fs instead.
e2fsck/pass4.c
e2fsck/problem.c
e2fsck/problem.h
misc/tune2fs.8.in
misc/tune2fs.c