Whamcloud - gitweb
e2fsck: fix code which uniquifies names in directory entries
authorTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jul 2012 17:05:46 +0000 (13:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jul 2012 17:05:46 +0000 (13:05 -0400)
commit32d4eb2b04f62e5380d29089040af2f8ba7b066e
treea352a75751e2a471c6868ff56de3b0a8e74d3cda
parenta7c17431b9fbf767235d614cfe2e4f22ee0d6771
e2fsck: fix code which uniquifies names in directory entries

When checking to see whether or not a new name is unique, the code was
using the wrong length parameter, which could cause the anti-collision
loop for a long time trying to find what it thinks is a unique name.

Addresses-Sourceforge-Bug: #3540545

Reported-by: Vitaly Oratovsky <vmo@users.sourceforge.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/rehash.c