]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SUNRPC: unregister service on creation in current network namespace
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 13 Jan 2012 10:03:04 +0000 (14:03 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:14 +0000 (19:28 -0500)
commit5ecebb7c7fd737cf387a552994df319c063973db
tree5442ab61f417961b8908f1d2e82f837204830b80
parentbee42f688c915b510a4aabae4f7a99457137d6f3
SUNRPC: unregister service on creation in current network namespace

On service shutdown we can be sure, that no more users of it left except
current. Thus it looks like using current network namespace context is safe in
this case.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
net/sunrpc/svc.c