mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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 <[email protected]> Cc: <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0494f6ec5d
commit
5e21ccb136
1 changed files with 3 additions and 2 deletions
|
|
@ -119,7 +119,6 @@ enum pid_directory_inos {
|
|||
#ifdef CONFIG_AUDITSYSCALL
|
||||
PROC_TGID_LOGINUID,
|
||||
#endif
|
||||
PROC_TGID_FD_DIR,
|
||||
PROC_TGID_OOM_SCORE,
|
||||
PROC_TGID_OOM_ADJUST,
|
||||
PROC_TID_INO,
|
||||
|
|
@ -158,9 +157,11 @@ enum pid_directory_inos {
|
|||
#ifdef CONFIG_AUDITSYSCALL
|
||||
PROC_TID_LOGINUID,
|
||||
#endif
|
||||
PROC_TID_FD_DIR = 0x8000, /* 0x8000-0xffff */
|
||||
PROC_TID_OOM_SCORE,
|
||||
PROC_TID_OOM_ADJUST,
|
||||
|
||||
/* Add new entries before this */
|
||||
PROC_TID_FD_DIR = 0x8000, /* 0x8000-0xffff */
|
||||
};
|
||||
|
||||
struct pid_entry {
|
||||
|
|
|
|||
Loading…
Reference in a new issue