summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-06-26 09:25:47 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 18:58:24 +0200
commit6e66b52bf587f0dd9a8e0a581b9570e5c1969e33 (patch)
tree18b630e89490f7e01ee45f07a427fded50a1c6cf /include
parent[PATCH] proc: Properly filter out files that are not visible to a process (diff)
downloadlinux-6e66b52bf587f0dd9a8e0a581b9570e5c1969e33.tar.xz
linux-6e66b52bf587f0dd9a8e0a581b9570e5c1969e33.zip
[PATCH] proc: Fix the link count for /proc/<pid>/task
Use getattr to get an accurate link count when needed. This is cheaper and more accurate than trying to derive it by walking the thread list of a process. Especially as it happens when needed stat instead of at readdir time. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions