浏览代码

[romfs/dfs_romfs.c] _rom_fops add ioctl

yuqingli 8 月之前
父节点
当前提交
a343e1d7a0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      components/dfs/dfs_v2/filesystems/romfs/dfs_romfs.c

+ 1 - 0
components/dfs/dfs_v2/filesystems/romfs/dfs_romfs.c

@@ -365,6 +365,7 @@ static const struct dfs_file_ops _rom_fops =
 {
     .open             = dfs_romfs_open,
     .close            = dfs_romfs_close,
+    .ioctl            = dfs_romfs_ioctl,
     .lseek            = generic_dfs_lseek,
     .read             = dfs_romfs_read,
     .getdents         = dfs_romfs_getdents,