proc closedir

This commit is contained in:
chenjing 2021-04-07 09:49:17 +08:00
parent 18d5e25373
commit 62c039b287
1 changed files with 6 additions and 0 deletions

View File

@ -265,6 +265,11 @@ int VfsProcfsStatfs(struct Mount *mnt, struct statfs *buf)
return LOS_OK;
}
int VfsProcfsClosedir(struct Vnode *vp, struct fs_dirent_s *dir)
{
return LOS_OK;
}
const struct MountOps procfs_operations = {
.Mount = VfsProcfsMount,
.Unmount = NULL,
@ -276,6 +281,7 @@ static struct VnodeOps g_procfsVops = {
.Getattr = VfsProcfsStat,
.Readdir = VfsProcfsReaddir,
.Opendir = VfsProcfsOpendir,
.Closedir = VfsProcfsClosedir
};
static struct file_operations_vfs g_procfsFops = {