summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-11-07 04:08:01 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-07 04:08:01 -0800
commit332d2f06c39331c6984701200dc38ee296f0e551 (patch)
tree866d89229dac7cf97f7a8aac292e04afc5ebfd0e /include/linux
parent22d1d71aa7fc4b53b19e5b25f8999a744ac7c2a2 (diff)
[PATCH] Fix ext3_dx_readdir
When there are more than one entry in fname linked list, the current implementation of ext3_dx_readdir() can not traverse all entries correctly in the case that call_filldir() fails. If we use system call readdir() to read entries in a directory which happens that "." and ".." in the same fname linked list. Each time we call readdir(), it will return the "." entry and never returns 0 which indicates that all entries are read. Although chances that more than one entry are in one fname linked list are very slim, it does exist. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions