]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/rehash.c
e2fsck: Fix duplicate directory entries for non-indexed directories
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Nov 2009 02:56:24 +0000 (21:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 17 Nov 2009 02:56:24 +0000 (21:56 -0500)
commitb71e01835ff844d5be09ecbf7e51acad4d75447b
tree1394fbdb9be26d2e481e3fab5793e842ee1fa9ae
parentc7cd908be59f48c66b4f3ac9a631ffe3dde4f1ab
e2fsck: Fix duplicate directory entries for non-indexed directories

Duplicate directory entries were not necessarily getting found and
fixed for non-indexed directories, since we were sorting these
directories by inode number, and the duplicate entry code assumed the
entries were getting sorted by name or directory name hash.

Addresses-Sourceforge-Bug: #2862551

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/rehash.c
tests/f_dup_de2/expect.1 [new file with mode: 0644]
tests/f_dup_de2/expect.2 [new file with mode: 0644]
tests/f_dup_de2/image.gz [new file with mode: 0644]
tests/f_dup_de2/name [new file with mode: 0644]