Modules/LVM - Fixed bugs with reference counting and cleanup
[tpg/acess2.git] / KernelLand / Modules / Storage / LVM / include / lvm.h
index 3a9ef1b..c106f77 100644 (file)
@@ -16,14 +16,13 @@ struct sLVM_VolType
 {
        const char *Name;
 
-       size_t  BlockSize;
-       
-       int     (*Read)(void *, Uint64, size_t, void *);
-       int     (*Write)(void *, Uint64, size_t, const void *);
+        int    (*Read)(void *, Uint64, size_t, void *);
+        int    (*Write)(void *, Uint64, size_t, const void *);
+       void    (*Cleanup)(void *);
 };
 
 
-extern int     LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_t BlockCount);
+extern int     LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_t BlockSize, size_t BlockCount);
 
 #endif
 

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