#include "include/lvm.h"
#include "lvm.h"
#include <vfs.h>
+#include <iocache.h>
typedef struct sLVM_SubVolume tLVM_SubVolume;
{
tLVM_Vol *Next;
- tVFS_Node Node;
+ tVFS_Node DirNode;
+ tVFS_Node VolNode;
void *Ptr;
- tLVM_ReadFcn Read;
- tLVM_WriteFcn Write;
+ const tLVM_VolType *Type;
size_t BlockSize;
+ Uint64 BlockCount;
int nSubVolumes;
tLVM_SubVolume **SubVolumes;
+ tIOCache *CacheHandle;
+
char Name[];
};
};
extern tVFS_NodeType gLVM_SubVolNodeType;
+extern tVFS_NodeType gLVM_VolNodeType;
+
+extern tLVM_Vol *gpLVM_FirstVolume;
+extern tLVM_Vol *gpLVM_LastVolume;
#endif