(Frodo) Updated patch for 2.6.22. It seems that in some cases, the end-of-directory was not properly signaled. We now continue reading directory entries until there are really none left, and this seems to stop the confusion.