[UNIX]: Extend unix_sysctl_(un)register prototypes
authorPavel Emelyanov <xemul@openvz.org>
Sat, 1 Dec 2007 12:40:40 +0000 (23:40 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:21 +0000 (14:55 -0800)
commit97577e38284f48ca773392e2d401af2f6c95dc08
treef744e46259cf06b13858f2965526d512308cb7da
parentdd88590995de7c7ce108718a9ad52b3832e77814
[UNIX]: Extend unix_sysctl_(un)register prototypes

Add the struct net * argument to both of them to use in
the future. Also make the register one return an error code.

It is useless right now, but will make the future patches
much simpler.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_unix.h
net/unix/af_unix.c
net/unix/sysctl_net_unix.c