Skip to content
Commit 76b6159b authored by Al Viro's avatar Al Viro
Browse files

[PATCH] fix handling of st_nlink on procfs root



1) it should use nr_processes(), not nr_threads; otherwise we are getting
very confused find(1) and friends, among other things.
2) better do that at stat() time than at every damn lookup in procfs root.

Patch had been sitting in FC4 kernels for many months now...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e30809fd
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