Fix to the fix! - Re: [2.6 PATCH] LDM: Fix for Windows Vista dynamicdisks

From: Anton Altaparmakov
Date: Mon May 21 2007 - 16:14:08 EST


Hi Linus,

I am a muppet it would seem. The patch on disk and the one in the email I
sent have a one line difference which breaks compilation as I just found
out when I pulled your tree and git showed up the mismatch... I can only
assume that that was caused by finger trouble when I inserted the patch
into the email with pine and then scanned through it quickly paging up and
down in pine to make sure it was the right patch. )-: Alternatively pine
has started inserting random changes to my emails... That's rather
unlikely I know/hope!

Anyway below is the correction to the broken one line...

Hopefully I will manage to send it without breaking it, too! /-;

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/

---
Fix the finger trouble that caused the previous LDM patch to break
compilation...

CC: Richard Russon <ldm@xxxxxxxxxxx>
Signed-off-by: Anton Altaparmakov <aia21@xxxxxxxxxx>
---

diff --git a/fs/partitions/ldm.c b/fs/partitions/ldm.c
index c387812..99873a2 100644
--- a/fs/partitions/ldm.c
+++ b/fs/partitions/ldm.c
@@ -158,7 +158,7 @@ static bool ldm_parse_privhead(const u8 *data, struct privhead *ph)
/* Warn the user and continue, carefully. */
ldm_info("Database is normally %u bytes, it claims to "
"be %llu bytes.", LDM_DB_SIZE,
- udunsigned long long)ph->config_size);
+ (unsigned long long)ph->config_size);
}
if ((ph->logical_disk_size == 0) || (ph->logical_disk_start +
ph->logical_disk_size > ph->config_start)) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/