2.4.18-rc3 Minor LDM fix
PATCH 1/1 2.4.18-rc3 Minor LDM fix
Hi Marcelo,
Please can you apply this minor patch to fs/partitions/ldm.c (support for Windows Dynamic Disks)
Cheers,
FlatCap (Rich)
[email protected]
Some people have problems reading the end of the LDM database which is at the end of the physical disk. This patch reduces a couple of minor checks, to just debug output.
fs/partitions/ldm.c +2 -2
@@ -796,7 +796,7 @@ err =parse_privhead (data, ph3);put_dev_sector (sect);if (err !=1 ) - goto out; +printk (LDM_DEBUG "Couldn't read the third PRIVHEAD.\n" ); err =compare_privheads (ph1, ph2);if (err !=1 ) {printk (LDM_CRIT "First and second PRIVHEADs don't match.\n" );
@@ -804,7 +804,7 @@ } err =compare_privheads (ph1, ph3);if (err !=1 ) -printk (LDM_CRIT "First and third PRIVHEADs don't match.\n" ); +printk (LDM_DEBUG "First and third PRIVHEADs don't match.\n" );else /* We _could_ have checked more. */ ldm_debug ("Validated PRIVHEADs successfully.\n" );