From: Daniel Drake Date: Sun, 1 May 2005 15:59:03 +0000 (-0700) Subject: [PATCH] procfs: Fix hardlink counts for /proc//task X-Git-Tag: v2.6.12-rc4~136^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f246315e1ab96c40978777d1e159820ecca45aa8;p=pandora-kernel.git [PATCH] procfs: Fix hardlink counts for /proc//task The current logic assumes that a /proc//task directory should have a hardlink count of 3, probably counting ".", "..", and a directory for a single child task. It's fairly obvious that this doesn't work out correctly when a PID has more than one child task, which is quite often the case. Signed-off-by: Daniel Drake Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed