Changes by: flatcap
Update of /cvsroot/linux-ntfs/dynamic-disk/linux/fs/partitions
In directory usw-pr-cvs1:/tmp/cvs-serv30280/linux/fs/partitions
Modified Files:
Tag: kernel-latest
ldm.c
Log Message:
make sure we ignore extended VBLKs for now
Index: ldm.c
===================================================================
RCS file: /cvsroot/linux-ntfs/dynamic-disk/linux/fs/partitions/ldm.c,v
retrieving revision 1.25
retrieving revision 1.25.2.1
diff -U2 -r1.25 -r1.25.2.1
--- ldm.c 2001/07/25 23:32:02 1.25
+++ ldm.c 2001/07/29 16:36:17 1.25.2.1
@@ -4,5 +4,5 @@
* ldm - Part of the Linux-NTFS project.
*
- * Copyright (C) 2001 Richard Russon <nt...@fl...>
+ * Copyright (C) 2001 Richard Russon <ld...@fl...>
* Copyright (C) 2001 Anton Altaparmakov <an...@us...>
*
@@ -142,5 +142,6 @@
return -1;
}
- if (BE16(buffer + 0x0E) == 0) /* Record is not in use. */
+ if ((BE16(buffer + 0x0E) == 0) || /* Record is not in use. */
+ (BE16(buffer + 0x0C) != 0)) /* Part 2 of an ext. record */
return 0;
/* FIXME: What about extended VBLKs? */
|