diff options
| author | Andries E. Brouwer <andries.brouwer@cwi.nl> | 2003-04-18 03:18:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-18 03:18:49 -0700 |
| commit | ca49321fb6092b9cf73bd76b61a3ebfbbcdf57c9 (patch) | |
| tree | 13c9fd114825715a64f1a4efb27b3c8d86f19a46 /include/asm-alpha | |
| parent | 24ebdc14c92617ab07a7be22946535d4ebb1a841 (diff) | |
[PATCH] struct loop_info64 with __u64
(i) Replace in struct loop_info the dev_t field by __kernel_old_dev_t,
where this type is defined in <asm/posix_types.h>, so that problems
with a differently sized dev_t in userspace are avoided.
(ii) Introduce a new loop_info64, with __u64 device, inode and offset
fields.
Diffstat (limited to 'include/asm-alpha')
| -rw-r--r-- | include/asm-alpha/posix_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-alpha/posix_types.h b/include/asm-alpha/posix_types.h index 723efbe8a5ed..9c613d79189d 100644 --- a/include/asm-alpha/posix_types.h +++ b/include/asm-alpha/posix_types.h @@ -40,6 +40,8 @@ typedef __kernel_gid_t __kernel_old_gid_t; typedef __kernel_uid_t __kernel_uid32_t; typedef __kernel_gid_t __kernel_gid32_t; +typedef unsigned int __kernel_old_dev_t; + #ifdef __KERNEL__ #ifndef __GNUC__ |
