Messages in this thread Patch in this message | | | Date | Sun, 1 Sep 2002 10:55:24 +0200 | From | Tomas Szepe <> | Subject | [PATCH] sparc32: wrong type of nlink_t |
| |
Against 2.4.20-pre5 - fix up the type of nlink_t. This makes jfs and reiserfs stop complaining about comparisons always turning up false due to limited range of data type.
T.
--- linux-2.4.19/include/asm-sparc/posix_types.h 2000-01-16 07:08:29.000000000 +0100 +++ linux-2.4.20-pre5/include/asm-sparc/posix_types.h 2002-09-01 10:41:35.000000000 +0200 @@ -21,7 +21,7 @@ typedef unsigned long __kernel_ino_t; typedef unsigned short __kernel_mode_t; typedef unsigned short __kernel_umode_t; -typedef short __kernel_nlink_t; +typedef unsigned short __kernel_nlink_t; typedef long __kernel_daddr_t; typedef long __kernel_off_t; typedef char * __kernel_caddr_t; - 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/
| |