]> git.baikalelectronics.ru Git - kernel.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)
commit84080d82ea0c13deb8ace0c258ed35515b7a48f0
tree5442ab61f417961b8908f1d2e82f837204830b80
parent0a7f721a6de32f34f68c41f31ca8011bb72aa022
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