]> git.hungrycats.org Git - linux/commit
[PATCH] prepare for 32-bit dev_t: stat()
authorAlexander Viro <viro@www.linux.org.uk>
Tue, 23 Sep 2003 05:52:09 +0000 (22:52 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 23 Sep 2003 05:52:09 +0000 (22:52 -0700)
commit18d0c6d3ba8df654d99677ab070037d6c0d9c055
treec13cd5e4562b24c196e4ace3bf239b98af56f6af
parent66c937f3ac29429021ee67af023c01270dd0030a
[PATCH] prepare for 32-bit dev_t: stat()

Added old_encode_dev() to assorted stat() variants.
Fixed bug in s390 emulation on s390x: stat64() should never truncate
UID and GID.
Ditto for i386 emulation on x86_64.
Replaced dev_t in various struct stat with explicit integer type.
Replaced __kernel_dev_t with __old_kernel_dev_t in dm-ioctl-v1.h
Now we are free to change dev_t in any way we want - on all boundaries
we have explicit conversions.
Took __kernel_dev_t definition to linux/types.h and changed it with
__u16.  We are ready to proceed to 32bit now.
34 files changed:
arch/ia64/ia32/sys_ia32.c
arch/mips/kernel/linux32.c
arch/parisc/hpux/fs.c
arch/parisc/kernel/sys_parisc32.c
arch/ppc64/kernel/sys_ppc32.c
arch/s390/kernel/compat_linux.c
arch/sparc64/kernel/sys_sparc32.c
arch/x86_64/ia32/sys_ia32.c
fs/stat.c
include/asm-alpha/posix_types.h
include/asm-arm/posix_types.h
include/asm-arm26/posix_types.h
include/asm-cris/posix_types.h
include/asm-h8300/posix_types.h
include/asm-i386/posix_types.h
include/asm-ia64/posix_types.h
include/asm-m68k/posix_types.h
include/asm-mips/posix_types.h
include/asm-mips/stat.h
include/asm-parisc/posix_types.h
include/asm-parisc/stat.h
include/asm-ppc/posix_types.h
include/asm-ppc/stat.h
include/asm-ppc64/posix_types.h
include/asm-ppc64/stat.h
include/asm-s390/posix_types.h
include/asm-sh/posix_types.h
include/asm-sparc/posix_types.h
include/asm-sparc64/posix_types.h
include/asm-sparc64/stat.h
include/asm-v850/posix_types.h
include/asm-x86_64/posix_types.h
include/linux/dm-ioctl-v1.h
include/linux/types.h