| 30 | | struct SuperBlockOps |
| 31 | | { |
| 32 | | /* General vNode functions */ |
| 33 | | int (*allocVNode)(struct VNode* vNode); |
| 34 | | int (*freeVNode)(struct VNode* vNode); |
| 35 | | int (*readVNode)(struct VNode* vNode); |
| 36 | | int (*readVNodeWithData)(struct VNode* vNode, void* data); |
| 37 | | int (*writeVNode)(struct VNode* vNode); |
| 38 | | |
| 39 | | /* General superblock functions */ |
| 40 | | int (*writeSuper)(struct VfsSuperBlock* superBlock); |
| 41 | | }; |
| | 30 | struct VNode; |
| | 43 | }; |
| | 44 | |
| | 45 | struct SuperBlockOps |
| | 46 | { |
| | 47 | /* General vNode functions */ |
| | 48 | int (*allocVNode)(struct VNode* vNode); |
| | 49 | int (*freeVNode)(struct VNode* vNode); |
| | 50 | int (*readVNode)(struct VNode* vNode); |
| | 51 | int (*readVNodeWithData)(struct VNode* vNode, void* data); |
| | 52 | int (*writeVNode)(struct VNode* vNode); |
| | 53 | int (*dirtyVNode)(struct VNode* vNode); |
| | 54 | |
| | 55 | /* General superblock functions */ |
| | 56 | int (*writeSuper)(struct VfsSuperBlock* superBlock); |