]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/proc/loadavg.c
xfs: convert XFS_AGFL_SIZE to a helper function
[mirror_ubuntu-bionic-kernel.git] / fs / proc / loadavg.c
index 9bc5c58c00ee7a97964482ccd0ad78fd73a4406c..a000d7547479e8849acbea6dea406dc5b2bb7c46 100644 (file)
@@ -24,7 +24,7 @@ static int loadavg_proc_show(struct seq_file *m, void *v)
                LOAD_INT(avnrun[1]), LOAD_FRAC(avnrun[1]),
                LOAD_INT(avnrun[2]), LOAD_FRAC(avnrun[2]),
                nr_running(), nr_threads,
-               task_active_pid_ns(current)->last_pid);
+               idr_get_cursor(&task_active_pid_ns(current)->idr));
        return 0;
 }