reset dentry buffer when rewind'ed

This commit is contained in:
Antonio SJ Musumeci 2021-02-09 18:09:28 -05:00
parent 2e4c6c5fd1
commit f6e37672b8
4 changed files with 8 additions and 0 deletions

View file

@ -66,6 +66,8 @@ namespace l
uint64_t namelen;
struct linux_dirent64 *d;
fuse_dirents_reset(buf_);
buf = (char*)g_DENTS_BUF_POOL.alloc();
if(buf == NULL)
return -ENOMEM;