Skip to contentSkip to conversation

2.5.1-pre5 Fix sector offset by 1 error.

PATCH New Anton Altaparmakov 1 participant 1 message Dec 1, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.1-pre5 Fix sector offset by 1 error.

Linus,

Please apply below patch. It fixes my "hda2 is offset by 1 sector" problem on my athlon.

Fix is trivial and is basically a compile fix for ldm which was causing the problem in some weird way. With this applied the problem is gone.

Best regards,

Anton

Signature · 15 lines
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/
  

--- l251p5/fs/partitions/ldm.c	Mon Nov 12 17:43:11 2001
+++ linux-2.5.1-pre5/fs/partitions/ldm.c	Sat Dec  1 06:10:58 2001
@@ -26,6 +26,7 @@
 #include <linux/types.h>
 #include <asm/unaligned.h>
 #include <asm/byteorder.h>
+#include <linux/pagemap.h>
 #include <linux/genhd.h>
 #include <linux/blkdev.h>
 #include <linux/slab.h>