]> git.karo-electronics.de Git - linux-beck.git/commit
ext3: fix ext3_dx_readdir hash collision handling
authorEugene Dashevsky <eugene@ibrix.com>
Sun, 19 Oct 2008 03:27:59 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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.

[akpm@linux-foundation.org: coding-style fixes]
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/dir.c