SUNRPC: register service stats /proc entries in passed network namespace context
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 6 Dec 2011 13:42:49 +0000 (16:42 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:18 +0000 (19:28 -0500)
commit246590f56c9f281d60b7dd7efa0818307e65600d
treeaa48cef874939af0de0e78bf51d983e3ed8d50f6
parentcc9f4be5ffb86b4b483eeb15eb08aebc60a1b9a9
SUNRPC: register service stats /proc entries in passed network namespace context

This patch makes it possible to create NFSd program entry ("/proc/net/rpc/nfsd")
in passed network namespace context instead of hard-coded "init_net".

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