Re: Fixes to SYSV file system support (inode.c)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 27 Dec 1999 23:22:58 +0000 (GMT)


> The original code for 'coh_read3byte()' reads:
>
> return (unsigned long)(*(unsigned char *)p) << 16
> | (unsigned long)(*(unsigned short *)(p+1));

Yeah thats native endian (S51K is full of endian assumptions and the real
sys5 made an fs that was endian dependant too). Coherent uses the PDPendian
stuff 8)

Alan

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