diff options
author | Daniel Drake <dsd@gentoo.org> | 2005-05-01 08:59:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:59:03 -0700 |
commit | f246315e1ab96c40978777d1e159820ecca45aa8 (patch) | |
tree | 32ed8f99da48313838d5aa863f5d3e7ed984213f /scripts | |
parent | bcf88e1163623e8e8ef2ba7feface9c826a890c9 (diff) | |
download | kernel-crypto-f246315e1ab96c40978777d1e159820ecca45aa8.tar.gz kernel-crypto-f246315e1ab96c40978777d1e159820ecca45aa8.tar.xz kernel-crypto-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 'scripts')
0 files changed, 0 insertions, 0 deletions