lkml.org 
[lkml]   [2001]   [Dec]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] 2.5.1-pre5 Fix sector offset by 1 error.
DateSat, 1 Dec 2001 07:03:42 +0000 (GMT)
FromAnton Altaparmakov <>
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/
\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.217 / U:0.310 seconds]
©2003-2008 Jasper Spaans