X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FLVM%2Flvm_int.h;h=a2d1f5d7507d499d881a35d4e1a6168142dabb83;hb=6aeca47f9311da25dfd9308c99cba9950b178d55;hp=f4ef3c1292dee9cba619a51b35eeb267bcd1777f;hpb=19f38ccc051cc9b9bbcb7048b0c12266cb1d4312;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/LVM/lvm_int.h b/KernelLand/Modules/Storage/LVM/lvm_int.h index f4ef3c12..a2d1f5d7 100644 --- a/KernelLand/Modules/Storage/LVM/lvm_int.h +++ b/KernelLand/Modules/Storage/LVM/lvm_int.h @@ -11,6 +11,7 @@ #include "include/lvm.h" #include "lvm.h" #include +#include typedef struct sLVM_SubVolume tLVM_SubVolume; @@ -24,17 +25,20 @@ struct sLVM_Vol { 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[]; }; @@ -52,6 +56,10 @@ struct sLVM_SubVolume }; extern tVFS_NodeType gLVM_SubVolNodeType; +extern tVFS_NodeType gLVM_VolNodeType; + +extern tLVM_Vol *gpLVM_FirstVolume; +extern tLVM_Vol *gpLVM_LastVolume; #endif