proc closedir
This commit is contained in:
parent
18d5e25373
commit
62c039b287
|
@ -265,6 +265,11 @@ int VfsProcfsStatfs(struct Mount *mnt, struct statfs *buf)
|
||||||
return LOS_OK;
|
return LOS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int VfsProcfsClosedir(struct Vnode *vp, struct fs_dirent_s *dir)
|
||||||
|
{
|
||||||
|
return LOS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
const struct MountOps procfs_operations = {
|
const struct MountOps procfs_operations = {
|
||||||
.Mount = VfsProcfsMount,
|
.Mount = VfsProcfsMount,
|
||||||
.Unmount = NULL,
|
.Unmount = NULL,
|
||||||
|
@ -276,6 +281,7 @@ static struct VnodeOps g_procfsVops = {
|
||||||
.Getattr = VfsProcfsStat,
|
.Getattr = VfsProcfsStat,
|
||||||
.Readdir = VfsProcfsReaddir,
|
.Readdir = VfsProcfsReaddir,
|
||||||
.Opendir = VfsProcfsOpendir,
|
.Opendir = VfsProcfsOpendir,
|
||||||
|
.Closedir = VfsProcfsClosedir
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct file_operations_vfs g_procfsFops = {
|
static struct file_operations_vfs g_procfsFops = {
|
||||||
|
|
Loading…
Reference in New Issue