ext4: Fix ext4_dx_readdir hash collision handling
authorTheodore Ts'o <tytso@mit.edu>
Wed, 20 Aug 2008 01:57:43 +0000 (21:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 20 Aug 2008 01:57:43 +0000 (21:57 -0400)
commitd015641734cde55d2fce48a6db3983c8a029fe05
treeaf2f6f0ef56d3b525227196f0caed1fb19ab4014
parentcd21322616c3af265d39bf15321d436e667a5dd1
ext4: Fix ext4_dx_readdir hash collision handling

This fixes a bug where readdir() would return a directory entry twice
if there was a hash collision in an hash tree indexed directory.

Signed-off-by: Eugene Dashevsky <eugene@ibrix.com>
Signed-off-by: Mike Snitzer <msnitzer@ibrix.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/dir.c