Modules/{ATA,LVM} - Slight API change because SCSI devices don't have a fixed block...
[tpg/acess2.git] / KernelLand / Modules / Storage / LVM / lvm_int.h
index f4ef3c1..5ef812d 100644 (file)
@@ -24,13 +24,14 @@ 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;
@@ -52,6 +53,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
 

UCC git Repository :: git.ucc.asn.au