Re: 2.3.44 bug

From: Alexander Viro (viro@math.psu.edu)
Date: Sun Feb 13 2000 - 16:50:02 EST


On Sun, 13 Feb 2000, Harold Oga wrote:

> On Sun, Feb 13, 2000 at 10:59:40AM -0700, Harold Oga wrote:
> >Hmm,
> > I'm running 2.3.44 right now with X running, XFree86 3.3.6 compiling on a
> >Dual Celeron 400 (BP6), Mixed IDE/SCSI system with no problems. In fact, this
> >is the best working 2.3.x kernel for me of all the 2.3.x kernels I've been
> >running lately.
>
> Looks like fat is broken on 2.3.44 though, as all the kernel tarballs I have
> stored an a zip disk are giving me errors with unexpected EOF, whereas 2.3.42
> and 2.2.14 say the same files is ok.

Got broken in 2.3.43, actually. Fix: apply
@@ -283,7 +283,7 @@
                        return 0;
                return sector+sb->dir_start;
        }
- if (sector >= MSDOS_I(inode)->mmu_private>>9)
+ if (sector >= (MSDOS_I(inode)->mmu_private+511)>>9)
                return 0;
        cluster = sector/sb->cluster_size;
        offset = sector % sb->cluster_size;

to fs/fat/cache.c. Already sent to Linus.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:25 EST