mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix unode readdirents not setting struct kernel_dirent::d_type.
This commit is contained in:
parent
bfc8570bb8
commit
ffff20be35
1 changed files with 1 additions and 0 deletions
|
@ -924,6 +924,7 @@ ssize_t Unode::readdirents(ioctx_t* ctx, struct kernel_dirent* dirent,
|
|||
entry.d_namelen = resp.namelen;
|
||||
entry.d_dev = (dev_t) server;
|
||||
entry.d_ino = resp.ino;
|
||||
entry.d_type = resp.type;
|
||||
|
||||
if ( !ctx->copy_from_src(dirent, &entry, sizeof(entry)) )
|
||||
goto break_if;
|
||||
|
|
Loading…
Reference in a new issue