From: Eric W. Biederman Date: Mon, 26 Jun 2006 07:25:47 +0000 (-0700) Subject: [PATCH] proc: Fix the link count for /proc//task X-Git-Tag: v2.6.18-rc1~759 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e66b52bf587f0dd9a8e0a581b9570e5c1969e33;p=pandora-kernel.git [PATCH] proc: Fix the link count for /proc//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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed