Readdir fixes, ext2_readdir()
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 8 Sep 2010 00:18:03 +0000 (17:18 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:53 +0000 (17:35 -0700)
commit4a23c59c8f96641ace01feaff123ee863933372d
tree448e2711cf6d260a2c6fd8ffd9997a1f4453784c
parent181f799474baa0a8e5640068c666910be85052fb
Readdir fixes, ext2_readdir()

Ext2 directories can now be read / ls'd.  Note we are leaking inodes.

This also decouples d_off from the implementation of generic_dir_read(),
such that it's an FS-internal hint.  Also fixes a couple bugs and allows
"fs ls" to cross mount points.
kern/src/ext2fs.c
kern/src/kfs.c
kern/src/vfs.c