diff options
author | Daniel Drake <dsd@gentoo.org> | 2005-05-01 17:59:03 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 17:59:03 +0200 |
commit | f246315e1ab96c40978777d1e159820ecca45aa8 (patch) | |
tree | 32ed8f99da48313838d5aa863f5d3e7ed984213f /kernel/rcupdate.c | |
parent | [PATCH] procfs: Fix hardlink counts (diff) | |
download | linux-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/rcupdate.c')
0 files changed, 0 insertions, 0 deletions