refactor: cut off some bloats in intr_ctx
[lunaix-os.git] / lunaix-os / includes / lunaix / fs.h
index 8e6961d6adc7d43ba2d6db97a72211c434a9690b..3ec85f5c2b711fce57f8b273af22694d0c1da571 100644 (file)
@@ -95,7 +95,6 @@ struct v_superblock
     struct device* dev;
     struct v_dnode* root;
     struct filesystem* fs;
-    u32_t iobuf_size;
     struct hbucket* i_cache;
     void* data;
     struct
@@ -218,6 +217,8 @@ struct v_inode
     struct pcache* pg_cache;
     struct v_inode_ops* ops;
     struct v_file_ops* default_fops;
+
+    void (*destruct)(struct v_inode* inode);
 };
 
 struct v_mount