]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[UNIX] Move the unix sock iterators in to proper place
authorPavel Emelyanov <xemul@openvz.org>
Fri, 23 Nov 2007 12:30:01 +0000 (20:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:49 +0000 (14:54 -0800)
commita53eb3feb2718bf906e81be89fae823b9b6157b6
tree4f854d526d80c8386d0212f1a12924c8d9b7fbf0
parentc28149016c24f4399c0a1eb0ebc15c92611223f0
[UNIX] Move the unix sock iterators in to proper place

The first_unix_socket() and next_unix_sockets() are now used
in proc file and in forall_unix_socets macro only.

The forall_unix_sockets is not used in this file at all so
remove it. After this move the helpers to where they really
belong, i.e. closer to proc code under the #ifdef CONFIG_PROC_FS
option.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c