]> git.baikalelectronics.ru Git - kernel.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)
commit5d96e3ca39e1b9e4d5fec28e9b734f349e1c076b
tree4f854d526d80c8386d0212f1a12924c8d9b7fbf0
parent50a79d954a1788f9cbc77f122ba845d89ff5de3e
[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