feat: (iso9660) directory read support
[lunaix-os.git] / lunaix-os / includes / lunaix / fs.h
index 539f0a8aa0d8ccd658e522751319606440f936b8..cc850ade16011f1f88708ef4518ef274cbafd7f1 100644 (file)
@@ -97,6 +97,7 @@ struct v_superblock
     struct filesystem* fs;
     uint32_t iobuf_size;
     struct hbucket* i_cache;
+    void* data;
     struct
     {
         uint32_t (*read_capacity)(struct v_superblock* vsb);
@@ -341,6 +342,9 @@ vfs_pclose(struct v_file* file, pid_t pid);
 int
 vfs_close(struct v_file* file);
 
+void
+vfs_free_fd(struct v_fd* fd);
+
 int
 vfs_fsync(struct v_file* file);