Modified the readir interface exported by vfs. Fix some bugs.