ext3: fix ext3_dx_readdir hash collision handling
authorEugene Dashevsky <[email protected]>
Sun, 19 Oct 2008 03:27:59 +0000 (20:27 -0700)
committerLinus Torvalds <[email protected]>
Mon, 20 Oct 2008 15:52:38 +0000 (08:52 -0700)
commit6a897cf447a83c9c3fd1b85a1e525c02d6eada7d
treed31c7e566cafce2886bf57079bbb7eea738f8d10
parent960a22ae60c8a723bd17da3b929fe0bcea6d007e
ext3: fix ext3_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.

[[email protected]: coding-style fixes]
Signed-off-by: Eugene Dashevsky <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext3/dir.c