Vegard Nossum aed5417593 proc: calculate the correct /proc/<pid> link count
This patch:

  commit e9720acd728a46cb40daa52c99a979f7c4ff195c
  Author: Pavel Emelyanov <xemul@openvz.org>
  Date:   Fri Mar 7 11:08:40 2008 -0800

    [NET]: Make /proc/net a symlink on /proc/self/net (v3)

introduced a /proc/self/net directory without bumping the corresponding
link count for /proc/self.

This patch replaces the static link count initializations with a call that
counts the number of directory entries in the given pid_entry table
whenever it is instantiated, and thus relieves the burden of manually
keeping the two in sync.

[akpm@linux-foundation.org: cleanup]
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-06-06 11:29:13 -07:00
..
2008-05-14 19:23:27 -05:00
2008-05-01 08:04:01 -07:00
2008-04-29 08:06:04 -07:00
2008-05-19 15:37:27 -05:00
2008-06-06 11:29:13 -07:00
2008-04-29 08:06:00 -07:00
2008-05-24 09:56:07 -07:00
2008-04-30 08:29:52 -07:00
2008-05-21 16:55:58 -07:00
2008-04-29 08:06:18 -07:00
2008-05-24 09:56:08 -07:00
2008-04-30 08:29:51 -07:00
2008-04-30 08:29:52 -07:00
2008-06-06 11:29:13 -07:00
2008-06-06 11:29:13 -07:00
2008-05-07 18:35:03 +02:00
2008-04-30 08:29:47 -07:00
2008-05-01 13:08:16 -04:00
2008-05-01 13:08:50 -04:00
2008-05-01 13:08:16 -04:00
2008-05-01 13:08:16 -04:00
2008-05-06 13:13:37 -07:00
2008-04-29 08:06:00 -07:00
2008-04-30 13:38:47 +02:00
2008-06-06 11:29:08 -07:00
2008-06-06 11:29:11 -07:00
2008-05-01 13:08:16 -04:00
2008-05-08 10:46:56 -07:00
2008-04-30 08:29:51 -07:00
2008-05-01 13:08:16 -04:00
2008-05-01 13:08:50 -04:00
2008-04-29 08:06:00 -07:00
2008-05-01 13:08:50 -04:00