commit | 6e66b52bf587f0dd9a8e0a581b9570e5c1969e33 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Mon Jun 26 00:25:47 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jun 26 09:58:24 2006 -0700 |
tree | 18b630e89490f7e01ee45f07a427fded50a1c6cf | |
parent | 0f2fe20f55c85f26efaf14feeb69c7c2eb3f7a75 [diff] |
[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>