X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FLVM%2Flvm_int.h;h=f4ef3c1292dee9cba619a51b35eeb267bcd1777f;hb=70a143a9de252ddc4f148866b0a93e28904073e5;hp=7f528d90b376997abb61f2f639ab2a4a34798531;hpb=1d65dd9606edfcaeef8dfff3724ef6c49180b131;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/LVM/lvm_int.h b/KernelLand/Modules/Storage/LVM/lvm_int.h index 7f528d90..f4ef3c12 100644 --- a/KernelLand/Modules/Storage/LVM/lvm_int.h +++ b/KernelLand/Modules/Storage/LVM/lvm_int.h @@ -8,18 +8,28 @@ #ifndef _LVM_LVM_INT_H_ #define _LVM_LVM_INT_H_ +#include "include/lvm.h" #include "lvm.h" #include typedef struct sLVM_SubVolume tLVM_SubVolume; +enum eLVM_BackType +{ + LVM_BACKING_VFS, + LVM_BACKING_PTRS +}; + struct sLVM_Vol { tLVM_Vol *Next; tVFS_Node Node; - - int BackingDescriptor; + + void *Ptr; + tLVM_ReadFcn Read; + tLVM_WriteFcn Write; + size_t BlockSize; int nSubVolumes;