diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-06 18:18:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:43 -0400 |
commit | 5e21ccb136047e556acf0fdf227cab5db05c1c25 (patch) | |
tree | 9d488f2e24b939f61c52563eaeff8b6e718ba3b6 /fs/proc/base.c | |
parent | 0494f6ec5d3a015d53b57e37280b93c19446676a (diff) |
[PATCH] fix enum pid_directory_inos in proc/base.c
This patch fixes wrongly placed elements in the pid_directory_inos
enum. Also add comment so this mistake is not repeated.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 73b1e94171b7..24eed139e54e 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -119,7 +119,6 @@ enum pid_directory_inos { | |||
119 | #ifdef CONFIG_AUDITSYSCALL | 119 | #ifdef CONFIG_AUDITSYSCALL |
120 | PROC_TGID_LOGINUID, | 120 | PROC_TGID_LOGINUID, |
121 | #endif | 121 | #endif |
122 | PROC_TGID_FD_DIR, | ||
123 | PROC_TGID_OOM_SCORE, | 122 | PROC_TGID_OOM_SCORE, |
124 | PROC_TGID_OOM_ADJUST, | 123 | PROC_TGID_OOM_ADJUST, |
125 | PROC_TID_INO, | 124 | PROC_TID_INO, |
@@ -158,9 +157,11 @@ enum pid_directory_inos { | |||
158 | #ifdef CONFIG_AUDITSYSCALL | 157 | #ifdef CONFIG_AUDITSYSCALL |
159 | PROC_TID_LOGINUID, | 158 | PROC_TID_LOGINUID, |
160 | #endif | 159 | #endif |
161 | PROC_TID_FD_DIR = 0x8000, /* 0x8000-0xffff */ | ||
162 | PROC_TID_OOM_SCORE, | 160 | PROC_TID_OOM_SCORE, |
163 | PROC_TID_OOM_ADJUST, | 161 | PROC_TID_OOM_ADJUST, |
162 | |||
163 | /* Add new entries before this */ | ||
164 | PROC_TID_FD_DIR = 0x8000, /* 0x8000-0xffff */ | ||
164 | }; | 165 | }; |
165 | 166 | ||
166 | struct pid_entry { | 167 | struct pid_entry { |