vfs: add vfs_readdir
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
cfda99c7c7
commit
898570d0ca
4 changed files with 42 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
static mem_cache_t *inode_slab = NULL;
|
||||
static mem_cache_t *dirent_slab = NULL;
|
||||
|
||||
static int inode_populate_dirents(inode_t *inode)
|
||||
int inode_populate_dirents(inode_t *inode)
|
||||
{
|
||||
write_lock(&inode->rwlock);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue