X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FLVM%2Fvolumes.c;h=176826768c946c94b689fa68ff2450a5fc8e5a22;hb=b9dfba489309b35d751b5757e7f0ec390ed0ca4c;hp=d923d88fc48fae24f0d77c7838b6b34adacda1a6;hpb=de6091a10d2cdded5e58f25ba3e3db7db726d01d;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