Re: PATCH: fix FAT32 filesystems on 64-bit platforms

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Fri Dec 15 2000 - 02:08:02 EST


> This fixes FAT32 on 64-bit platforms (notably, IA-64 and Alpha);
> without this you can't mount any FAT32 filesystems. A similar patch
> is already in 2.2.18.
...
> - next = CF_LE_L(((unsigned long *) bh->b_data)[(first &
> + next = CF_LE_L(((__u32 *) bh->b_data)[(first &
...
> - next = CF_LE_W(((unsigned short *) bh->b_data)[(first &
> + next = CF_LE_W(((__u16 *) bh->b_data)[(first &

These macros really ought to be replaced with the standard
le32_to_cpu() and le16_to_cpu() ones.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:31 EST