提交 62c039b2 编写于 作者: C chenjing

proc closedir

上级 18d5e253
......@@ -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 = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册