opendir/readdir/closedir: partial rewrite, fix errors, block cache
authorAlan Cox <alan@linux.intel.com>
Tue, 26 May 2015 23:06:58 +0000 (00:06 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 26 May 2015 23:06:58 +0000 (00:06 +0100)
commit337be789e3bdce8c8c028031a1a31eccd9f5248d
tree2b566d4920188cb2d59b2587a7cc8dde27873d0f
parentcbbb63ae66efc52be5ee43d36205b68f1255b0b7
opendir/readdir/closedir: partial rewrite, fix errors, block cache

We now pull a sector at a time and hand it out an entry at a time. This makes
life a lot quicker. In addition we now use one allocation not two and the
code correctly handles the corner case of the directory being fd 0
Library/include/dirent.h
Library/libs/closedir.c
Library/libs/opendir.c
Library/libs/readdir.c