summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2005-05-01 17:59:03 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 17:59:03 +0200
commitf246315e1ab96c40978777d1e159820ecca45aa8 (patch)
tree32ed8f99da48313838d5aa863f5d3e7ed984213f /kernel
parent[PATCH] procfs: Fix hardlink counts (diff)
downloadlinux-f246315e1ab96c40978777d1e159820ecca45aa8.tar.xz
linux-f246315e1ab96c40978777d1e159820ecca45aa8.zip
[PATCH] procfs: Fix hardlink counts for /proc/<PID>/task
The current logic assumes that a /proc/<PID>/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 <dsd@gentoo.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions