aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r--fs/proc/array.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index ae2c807fd719..911f66924d81 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -677,12 +677,7 @@ out:
677 677
678static int children_seq_show(struct seq_file *seq, void *v) 678static int children_seq_show(struct seq_file *seq, void *v)
679{ 679{
680 struct inode *inode = seq->private; 680 seq_printf(seq, "%d ", pid_nr_ns(v, proc_pid_ns(seq->private)));
681 pid_t pid;
682
683 pid = pid_nr_ns(v, inode->i_sb->s_fs_info);
684 seq_printf(seq, "%d ", pid);
685
686 return 0; 681 return 0;
687} 682}
688 683