Commit 5e21ccb1 authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Linus Torvalds

[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: default avatarMiklos Szeredi <miklos@szeredi.hu>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0494f6ec
...@@ -119,7 +119,6 @@ enum pid_directory_inos { ...@@ -119,7 +119,6 @@ enum pid_directory_inos {
#ifdef CONFIG_AUDITSYSCALL #ifdef CONFIG_AUDITSYSCALL
PROC_TGID_LOGINUID, PROC_TGID_LOGINUID,
#endif #endif
PROC_TGID_FD_DIR,
PROC_TGID_OOM_SCORE, PROC_TGID_OOM_SCORE,
PROC_TGID_OOM_ADJUST, PROC_TGID_OOM_ADJUST,
PROC_TID_INO, PROC_TID_INO,
...@@ -158,9 +157,11 @@ enum pid_directory_inos { ...@@ -158,9 +157,11 @@ enum pid_directory_inos {
#ifdef CONFIG_AUDITSYSCALL #ifdef CONFIG_AUDITSYSCALL
PROC_TID_LOGINUID, PROC_TID_LOGINUID,
#endif #endif
PROC_TID_FD_DIR = 0x8000, /* 0x8000-0xffff */
PROC_TID_OOM_SCORE, PROC_TID_OOM_SCORE,
PROC_TID_OOM_ADJUST, PROC_TID_OOM_ADJUST,
/* Add new entries before this */
PROC_TID_FD_DIR = 0x8000, /* 0x8000-0xffff */
}; };
struct pid_entry { struct pid_entry {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment