X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FLVM%2Finclude%2Flvm.h;h=c106f771f4239fc635aa3bde69abd6a506cb9ceb;hb=c8bd079f05637954fb0a177d24b7045c7c9609e1;hp=3a9ef1b16b97131ef77179433ce75f4ac8cd06b1;hpb=06674bf290ab6a24398a5fde1b67060673e267ad;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/LVM/include/lvm.h b/KernelLand/Modules/Storage/LVM/include/lvm.h index 3a9ef1b1..c106f771 100644 --- a/KernelLand/Modules/Storage/LVM/include/lvm.h +++ b/KernelLand/Modules/Storage/LVM/include/lvm.h @@ -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