summaryrefslogtreecommitdiffstats
path: root/fs/partitions/ldm.h
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cam.ac.uk>2007-07-16 20:39:02 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 21:01:30 +0200
commit959bc220df38317bed9a677600b3945a8571fc1c (patch)
treecaeeee78786ed9b10994d31545a638dcce441918 /fs/partitions/ldm.h
parentRemove duplicate comments from sysctl.c (diff)
downloadlinux-959bc220df38317bed9a677600b3945a8571fc1c.tar.xz
linux-959bc220df38317bed9a677600b3945a8571fc1c.zip
Fix LDM for new field in the VOL5 VBLK.
Teach LDM about a new field encountered with Windows Vista. This fixes LDM for people using Vista who have disabled drive letter assignment from one or more volumes. Doing this introduces a so far unknown field in the LDM database in the VOL5 VBLK structure which causes the LDM driver to fail to parse the VBLK structure and hence LDM fails to parse the disk altogether. This patch teaches the driver about this field. Thanks got to Ashton Mills <amills@iinet.com.au> for reporting the problem and working with me on getting it fixed. It is now working for him. Signed-off-by: Anton Altaparmakov <aia21@cantab.net> CC: Richard Russon <ldm@flatcap.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--fs/partitions/ldm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/partitions/ldm.h b/fs/partitions/ldm.h
index d2e6a3046939..80f63b5fdd9f 100644
--- a/fs/partitions/ldm.h
+++ b/fs/partitions/ldm.h
@@ -68,7 +68,7 @@ struct parsed_partitions;
#define VBLK_SIZE_DSK3 12
#define VBLK_SIZE_DSK4 45
#define VBLK_SIZE_PRT3 28
-#define VBLK_SIZE_VOL5 59
+#define VBLK_SIZE_VOL5 58
/* component types */
#define COMP_STRIPE 0x01 /* Stripe-set */