Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bb8ac181
Commit
bb8ac181
authored
May 19, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bury __kernel_nlink_t, make internal nlink_t consistent
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
1dfb5751
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
1 addition
and
65 deletions
+1
-65
arch/alpha/include/asm/posix_types.h
arch/alpha/include/asm/posix_types.h
+0
-3
arch/arm/include/asm/posix_types.h
arch/arm/include/asm/posix_types.h
+0
-3
arch/avr32/include/asm/posix_types.h
arch/avr32/include/asm/posix_types.h
+0
-3
arch/blackfin/include/asm/posix_types.h
arch/blackfin/include/asm/posix_types.h
+0
-3
arch/cris/include/asm/posix_types.h
arch/cris/include/asm/posix_types.h
+0
-3
arch/frv/include/asm/posix_types.h
arch/frv/include/asm/posix_types.h
+0
-3
arch/h8300/include/asm/posix_types.h
arch/h8300/include/asm/posix_types.h
+0
-3
arch/ia64/include/asm/posix_types.h
arch/ia64/include/asm/posix_types.h
+0
-3
arch/m32r/include/asm/posix_types.h
arch/m32r/include/asm/posix_types.h
+0
-3
arch/m68k/include/asm/posix_types.h
arch/m68k/include/asm/posix_types.h
+0
-3
arch/mips/include/asm/posix_types.h
arch/mips/include/asm/posix_types.h
+0
-5
arch/mn10300/include/asm/posix_types.h
arch/mn10300/include/asm/posix_types.h
+0
-3
arch/parisc/include/asm/posix_types.h
arch/parisc/include/asm/posix_types.h
+0
-3
arch/powerpc/include/asm/posix_types.h
arch/powerpc/include/asm/posix_types.h
+0
-3
arch/s390/include/asm/posix_types.h
arch/s390/include/asm/posix_types.h
+0
-3
arch/sh/include/asm/posix_types_32.h
arch/sh/include/asm/posix_types_32.h
+0
-2
arch/sh/include/asm/posix_types_64.h
arch/sh/include/asm/posix_types_64.h
+0
-2
arch/sparc/include/asm/posix_types.h
arch/sparc/include/asm/posix_types.h
+0
-5
arch/tile/include/asm/compat.h
arch/tile/include/asm/compat.h
+0
-1
arch/x86/include/asm/posix_types_32.h
arch/x86/include/asm/posix_types_32.h
+0
-3
include/asm-generic/posix_types.h
include/asm-generic/posix_types.h
+0
-4
include/linux/types.h
include/linux/types.h
+1
-1
No files found.
arch/alpha/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -10,9 +10,6 @@
...
@@ -10,9 +10,6 @@
typedef
unsigned
int
__kernel_ino_t
;
typedef
unsigned
int
__kernel_ino_t
;
#define __kernel_ino_t __kernel_ino_t
#define __kernel_ino_t __kernel_ino_t
typedef
unsigned
int
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
long
__kernel_sigset_t
;
/* at least 32 bits */
typedef
unsigned
long
__kernel_sigset_t
;
/* at least 32 bits */
#include <asm-generic/posix_types.h>
#include <asm-generic/posix_types.h>
...
...
arch/arm/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -22,9 +22,6 @@
...
@@ -22,9 +22,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/avr32/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -17,9 +17,6 @@
...
@@ -17,9 +17,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/blackfin/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -10,9 +10,6 @@
...
@@ -10,9 +10,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
int
__kernel_ipc_pid_t
;
typedef
unsigned
int
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/cris/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -15,9 +15,6 @@
...
@@ -15,9 +15,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/frv/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -10,9 +10,6 @@
...
@@ -10,9 +10,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/h8300/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -10,9 +10,6 @@
...
@@ -10,9 +10,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/ia64/include/asm/posix_types.h
View file @
bb8ac181
#ifndef _ASM_IA64_POSIX_TYPES_H
#ifndef _ASM_IA64_POSIX_TYPES_H
#define _ASM_IA64_POSIX_TYPES_H
#define _ASM_IA64_POSIX_TYPES_H
typedef
unsigned
int
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
long
__kernel_sigset_t
;
/* at least 32 bits */
typedef
unsigned
long
__kernel_sigset_t
;
/* at least 32 bits */
#include <asm-generic/posix_types.h>
#include <asm-generic/posix_types.h>
...
...
arch/m32r/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -10,9 +10,6 @@
...
@@ -10,9 +10,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/m68k/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -10,9 +10,6 @@
...
@@ -10,9 +10,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/mips/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -17,11 +17,6 @@
...
@@ -17,11 +17,6 @@
* assume GCC is being used.
* assume GCC is being used.
*/
*/
#if (_MIPS_SZLONG == 64)
typedef
unsigned
int
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
#endif
typedef
long
__kernel_daddr_t
;
typedef
long
__kernel_daddr_t
;
#define __kernel_daddr_t __kernel_daddr_t
#define __kernel_daddr_t __kernel_daddr_t
...
...
arch/mn10300/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -20,9 +20,6 @@
...
@@ -20,9 +20,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/parisc/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -10,9 +10,6 @@
...
@@ -10,9 +10,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
arch/powerpc/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -16,9 +16,6 @@ typedef int __kernel_ssize_t;
...
@@ -16,9 +16,6 @@ typedef int __kernel_ssize_t;
typedef
long
__kernel_ptrdiff_t
;
typedef
long
__kernel_ptrdiff_t
;
#define __kernel_size_t __kernel_size_t
#define __kernel_size_t __kernel_size_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
short
__kernel_ipc_pid_t
;
typedef
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#endif
#endif
...
...
arch/s390/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -24,7 +24,6 @@ typedef unsigned short __kernel_old_dev_t;
...
@@ -24,7 +24,6 @@ typedef unsigned short __kernel_old_dev_t;
typedef
unsigned
long
__kernel_ino_t
;
typedef
unsigned
long
__kernel_ino_t
;
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_nlink_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_uid_t
;
typedef
unsigned
short
__kernel_uid_t
;
typedef
unsigned
short
__kernel_gid_t
;
typedef
unsigned
short
__kernel_gid_t
;
...
@@ -35,7 +34,6 @@ typedef int __kernel_ptrdiff_t;
...
@@ -35,7 +34,6 @@ typedef int __kernel_ptrdiff_t;
typedef
unsigned
int
__kernel_ino_t
;
typedef
unsigned
int
__kernel_ino_t
;
typedef
unsigned
int
__kernel_mode_t
;
typedef
unsigned
int
__kernel_mode_t
;
typedef
unsigned
int
__kernel_nlink_t
;
typedef
int
__kernel_ipc_pid_t
;
typedef
int
__kernel_ipc_pid_t
;
typedef
unsigned
int
__kernel_uid_t
;
typedef
unsigned
int
__kernel_uid_t
;
typedef
unsigned
int
__kernel_gid_t
;
typedef
unsigned
int
__kernel_gid_t
;
...
@@ -47,7 +45,6 @@ typedef unsigned long __kernel_sigset_t; /* at least 32 bits */
...
@@ -47,7 +45,6 @@ typedef unsigned long __kernel_sigset_t; /* at least 32 bits */
#define __kernel_ino_t __kernel_ino_t
#define __kernel_ino_t __kernel_ino_t
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
#define __kernel_nlink_t __kernel_nlink_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_uid_t __kernel_uid_t
#define __kernel_uid_t __kernel_uid_t
#define __kernel_gid_t __kernel_gid_t
#define __kernel_gid_t __kernel_gid_t
...
...
arch/sh/include/asm/posix_types_32.h
View file @
bb8ac181
...
@@ -3,8 +3,6 @@
...
@@ -3,8 +3,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
typedef
unsigned
short
__kernel_uid_t
;
typedef
unsigned
short
__kernel_uid_t
;
...
...
arch/sh/include/asm/posix_types_64.h
View file @
bb8ac181
...
@@ -3,8 +3,6 @@
...
@@ -3,8 +3,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
typedef
unsigned
short
__kernel_uid_t
;
typedef
unsigned
short
__kernel_uid_t
;
...
...
arch/sparc/include/asm/posix_types.h
View file @
bb8ac181
...
@@ -9,8 +9,6 @@
...
@@ -9,8 +9,6 @@
#if defined(__sparc__) && defined(__arch64__)
#if defined(__sparc__) && defined(__arch64__)
/* sparc 64 bit */
/* sparc 64 bit */
typedef
unsigned
int
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_old_uid_t
;
typedef
unsigned
short
__kernel_old_uid_t
;
typedef
unsigned
short
__kernel_old_gid_t
;
typedef
unsigned
short
__kernel_old_gid_t
;
...
@@ -38,9 +36,6 @@ typedef unsigned short __kernel_gid_t;
...
@@ -38,9 +36,6 @@ typedef unsigned short __kernel_gid_t;
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
long
__kernel_daddr_t
;
typedef
long
__kernel_daddr_t
;
#define __kernel_daddr_t __kernel_daddr_t
#define __kernel_daddr_t __kernel_daddr_t
...
...
arch/tile/include/asm/compat.h
View file @
bb8ac181
...
@@ -44,7 +44,6 @@ typedef __kernel_uid32_t __compat_gid32_t;
...
@@ -44,7 +44,6 @@ typedef __kernel_uid32_t __compat_gid32_t;
typedef
__kernel_mode_t
compat_mode_t
;
typedef
__kernel_mode_t
compat_mode_t
;
typedef
__kernel_dev_t
compat_dev_t
;
typedef
__kernel_dev_t
compat_dev_t
;
typedef
__kernel_loff_t
compat_loff_t
;
typedef
__kernel_loff_t
compat_loff_t
;
typedef
__kernel_nlink_t
compat_nlink_t
;
typedef
__kernel_ipc_pid_t
compat_ipc_pid_t
;
typedef
__kernel_ipc_pid_t
compat_ipc_pid_t
;
typedef
__kernel_daddr_t
compat_daddr_t
;
typedef
__kernel_daddr_t
compat_daddr_t
;
typedef
__kernel_fsid_t
compat_fsid_t
;
typedef
__kernel_fsid_t
compat_fsid_t
;
...
...
arch/x86/include/asm/posix_types_32.h
View file @
bb8ac181
...
@@ -10,9 +10,6 @@
...
@@ -10,9 +10,6 @@
typedef
unsigned
short
__kernel_mode_t
;
typedef
unsigned
short
__kernel_mode_t
;
#define __kernel_mode_t __kernel_mode_t
#define __kernel_mode_t __kernel_mode_t
typedef
unsigned
short
__kernel_nlink_t
;
#define __kernel_nlink_t __kernel_nlink_t
typedef
unsigned
short
__kernel_ipc_pid_t
;
typedef
unsigned
short
__kernel_ipc_pid_t
;
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
...
...
include/asm-generic/posix_types.h
View file @
bb8ac181
...
@@ -23,10 +23,6 @@ typedef __kernel_ulong_t __kernel_ino_t;
...
@@ -23,10 +23,6 @@ typedef __kernel_ulong_t __kernel_ino_t;
typedef
unsigned
int
__kernel_mode_t
;
typedef
unsigned
int
__kernel_mode_t
;
#endif
#endif
#ifndef __kernel_nlink_t
typedef
__kernel_ulong_t
__kernel_nlink_t
;
#endif
#ifndef __kernel_pid_t
#ifndef __kernel_pid_t
typedef
int
__kernel_pid_t
;
typedef
int
__kernel_pid_t
;
#endif
#endif
...
...
include/linux/types.h
View file @
bb8ac181
...
@@ -25,7 +25,7 @@ typedef __kernel_dev_t dev_t;
...
@@ -25,7 +25,7 @@ typedef __kernel_dev_t dev_t;
typedef
__kernel_ino_t
ino_t
;
typedef
__kernel_ino_t
ino_t
;
typedef
__kernel_mode_t
mode_t
;
typedef
__kernel_mode_t
mode_t
;
typedef
unsigned
short
umode_t
;
typedef
unsigned
short
umode_t
;
typedef
__
kernel_nlink_t
nlink_t
;
typedef
__
u32
nlink_t
;
typedef
__kernel_off_t
off_t
;
typedef
__kernel_off_t
off_t
;
typedef
__kernel_pid_t
pid_t
;
typedef
__kernel_pid_t
pid_t
;
typedef
__kernel_daddr_t
daddr_t
;
typedef
__kernel_daddr_t
daddr_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment