[PATCH] 2.5.1-pre5 Fix sector offset by 1 error.

Anton Altaparmakov (aia21@cus.cam.ac.uk)
Sat, 1 Dec 2001 07:03:42 +0000 (GMT)


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

-- 
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> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/