Temporary fix for kdirent reading
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 28 Jan 2014 21:06:07 +0000 (13:06 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 28 Jan 2014 21:06:07 +0000 (13:06 -0800)
commit25ec0b8da1d926938524394b0feb24ec10dfdd50
treeaf64419fbce3a55e4294015344eae98cfaba11dc
parent654879dca814afc69bf159d416dbeec85a05ec8f
Temporary fix for kdirent reading

We need to read exactly one entry.  This doesn't work with mntread right
now, since UFS returns 0 instead of an error when the read buffer is too
small.  That might be a bug.

If you notice directory entries that are missing when you do an ls, let
us know.
kern/src/ns/sysfile.c