X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FLVM%2Fvolumes.c;h=176826768c946c94b689fa68ff2450a5fc8e5a22;hb=8a3c7218fb65c46c0876b7033b732188be91ae03;hp=d923d88fc48fae24f0d77c7838b6b34adacda1a6;hpb=e7a76b0d8a0cc6aa77966509780973a6f8216ef7;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/LVM/volumes.c b/KernelLand/Modules/Storage/LVM/volumes.c index d923d88f..17682676 100644 --- a/KernelLand/Modules/Storage/LVM/volumes.c +++ b/KernelLand/Modules/Storage/LVM/volumes.c @@ -60,6 +60,8 @@ void *LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_ // Type->CountSubvolumes dummy_vol.nSubVolumes = fmt->CountSubvolumes(&dummy_vol, first_block); + Log_Debug("LVM", "Volume %s as format %s gives %i sub-volumes", + Name, fmt->Name, dummy_vol.nSubVolumes); // Create real volume descriptor // TODO: If this needs to be rescanned later, having the subvolume list separate might be an idea