aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 04e29f929a11..c4fcd6465f73 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -1961,7 +1961,7 @@ retry:
1961 return task; 1961 return task;
1962} 1962}
1963 1963
1964#define TGID_OFFSET (FIRST_PROCESS_ENTRY + (1 /* /proc/self */)) 1964#define TGID_OFFSET (FIRST_PROCESS_ENTRY + (ARRAY_SIZE(proc_base_stuff) - 1))
1965 1965
1966static int proc_pid_fill_cache(struct file *filp, void *dirent, filldir_t filldir, 1966static int proc_pid_fill_cache(struct file *filp, void *dirent, filldir_t filldir,
1967 struct task_struct *task, int tgid) 1967 struct task_struct *task, int tgid)