Re: HPFS module can't be compiled in 2.3.29 + patch

Ferdinand Prantl (Ferdinand.Prantl@ff.cuni.cz)
Thu, 25 Nov 1999 11:13:06 +0100


On Thu, Nov 25, 1999 at 12:05:05PM +0200, Matti Aarnio wrote:
> On Thu, Nov 25, 1999 at 10:57:13AM +0100, Ferdinand Prantl wrote:
> > Hi all,
> >
> > when I was compiling 2.3.29 with HPFS as a module I came to an error
> > on line 97 (and then probly on 99). It was about unknown member
> > "offset" of the structure "page". I peered into include/linux/mm.h
> > and there was no "offset" member in "struct page" declaration, indeed.
> > I looked into smbfs code and replaced "page->offset" with
> > "page->index". If you'd want to test it I'm enclosing patch to be
> > copied into kernel source directory (usually /usr/src/linux)
> > and to be applied: "patch -p0 <hpfs-2.3.29.patch".
>
> No, it is *not* the same.
>
> It is SCALED index to file offset, the primary mechanism
> to get filesizes exceeding 2G at 32-bit linux systems.

Ooohh, thank you (I'm lucky not to use it till now I came to it yesterday...).
Is there any documentation about it (I'd like to have it worked but maybe it'd
be corrected in the next kernel update...) ? I tried Documentation/filesystems
but still haven't a clue...

Thank you very much, anyway :-)

Cheers,

Ferda Prantl

-- 

"We are free only in our dreams. We need money for the rest of life." ---------------------------------- Ferdinand Prantl LVT FF UK e-mail: prantl@ff.cuni.cz www: http://www.ff.cuni.cz/~prantl ICQ: 36302930

- 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/