Go to file
Andreas Dilger 1a8015773a e2fsck: set dir_nlink feature if large dir exists
If there is a directory with more than EXT2_LINK_MAX (65000)
subdirectories, but the DIR_NLINK feature is not set in the
superblock, the feature should be set before continuing on
to change the on-disk directory link count to 1.

While most filesystems should have DIR_NLINK set (it was set
by default for all ext4 filesystems, and all kernels between
2.6.23 and 4.12 automatically set it if the directory link
count grew too large), it is possible that this flag is lost
due to disk corruption or for an upgraded filesystem.  We no
longer want kernels to automatically enable features.

Addresses: https://bugzilla.kernel.org/show_bug.cgi?id=196405
Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2018-06-22 18:08:54 -04:00
config config: update config.{guess,sub} 2018-03-02 14:26:52 -05:00
contrib AOSP: Support UID/GID mapping 2018-06-21 10:02:19 -04:00
debian Update release notes, etc., for the 1.44.2 release 2018-05-15 19:42:44 -04:00
debugfs tests: remove redundant sed filtering 2018-06-22 14:06:53 -04:00
doc Update release notes, etc., for the 1.44.2 release 2018-05-15 19:42:44 -04:00
e2fsck e2fsck: set dir_nlink feature if large dir exists 2018-06-22 18:08:54 -04:00
ext2ed Merge branch 'maint' into next 2017-10-15 23:20:53 -04:00
include e2fsprogs: fix Free Software Foundation address 2018-04-19 11:39:09 -04:00
install-utils Remove Changelog files since they're not used after the git migration 2007-07-08 08:50:41 -04:00
intl Use @AR@ instead of hardcoded 'ar' 2018-05-13 22:08:01 -04:00
lib tests: remove redundant sed filtering 2018-06-22 14:06:53 -04:00
misc filefrag: don't ignore fsync errors 2018-06-22 11:26:15 -04:00
po po: update vi.po (from translationproject.org) 2018-05-24 17:58:24 -04:00
resize resize2fs: add missing EOL to error message 2018-06-19 10:44:55 -04:00
tests e2fsck: set dir_nlink feature if large dir exists 2018-06-22 18:08:54 -04:00
util util: allow subst to build in cross build environemnt 2018-03-20 10:31:09 -04:00
.gitignore tests: don't use a sparse test file 2018-06-22 11:42:14 -04:00
.hgignore Ignore quilt work files 2005-07-19 08:41:27 -05:00
.missing-copyright Many files: 1997-04-29 16:15:03 +00:00
.release-checklist Update release checklist to include reminder to update translation 2008-07-10 17:25:22 -04:00
ABOUT-NLS Update to gettext 0.11.5. We now enable NLS support by default. 2003-05-03 16:35:17 -04:00
acinclude.m4 Fix reversed FORCE_NATIVE_MAKE test in acinclude.m4 2016-09-11 23:12:07 -04:00
aclocal.m4 e2fsprogs: fix Free Software Foundation address 2018-04-19 11:39:09 -04:00
Android.bp AOSP: Remove unnecessary warning flags, now that the warnings are fixed. 2018-02-26 13:29:14 -05:00
CleanSpec.mk Update Android build files so the 1.43 branch builds on AOSP 2015-05-25 20:25:28 -04:00
configure Merge branch 'maint' into next 2017-12-12 23:45:02 -05:00
configure.ac Merge branch 'maint' into next 2017-12-12 23:45:02 -05:00
depfix.sed Update Release Notes, Changelogs, version.h, etc. for 1.42 release 2011-11-29 16:48:14 -05:00
e2fsprogs.lsm Update release notes, etc., for the 1.44.2 release 2018-05-15 19:42:44 -04:00
e2fsprogs.spec.in misc: clean up compiler warnings 2011-06-11 10:58:25 -04:00
INSTALL Fix typos in code comments and developer docs 2017-10-15 23:00:11 -04:00
INSTALL.elfbin Fix typos in code comments and developer docs 2017-10-15 23:00:11 -04:00
Makefile.in tests: skip running long test with "make check" and add "make fullcheck" 2017-04-26 10:07:18 -04:00
MCONFIG.in tests: skip running long test with "make check" and add "make fullcheck" 2017-04-26 10:07:18 -04:00
NOTICE e2fsprogs: fix Free Software Foundation address 2018-04-19 11:39:09 -04:00
README Update release notes, etc., for the 1.44.2 release 2018-05-15 19:42:44 -04:00
README.subset Update release notes, version files for 1.40.4 release 2008-01-01 00:35:17 -05:00
RELEASE-NOTES Update release notes, etc., for the 1.44.1 release 2018-03-24 22:42:47 -04:00
SHLIBS Many files: 1997-04-29 16:15:03 +00:00
SUBMITTING-PATCHES Added SUBMITTING-PATCHES file 2005-07-05 22:30:13 -05:00
TODO Fix typos in code comments and developer docs 2017-10-15 23:00:11 -04:00
version.h Update release notes, etc., for the 1.44.2 release 2018-05-15 19:42:44 -04:00
wordwrap.pl Fix wordwrap.pl so it is more portable 2012-09-21 12:50:04 -04:00

	This is the new version (1.44.2) of the second extended file
system management programs.

	From time to time, I release new versions of e2fsprogs, to fix
bugs and to make the utilities more robust.  You can always find
information about the latest version at the the e2fsprogs web page,
which is:

	http://e2fsprogs.sourceforge.net

	The INSTALL file has instructions on building and installing
e2fsprogs.  Provisions for building Red Hat RPMs and Debian dpkg files
are supplied as well.

	In case of bugs in these programs, please contact Ted Ts'o at
tytso@mit.edu or tytso@alum.mit.edu.  See the e2fsck man page for
suggestions of what sort of information to include when submitting bug
reports for these programs.