SUNRPC: register RPC stats /proc entries in passed network namespace context
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 6 Dec 2011 13:42:40 +0000 (16:42 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:17 +0000 (19:28 -0500)
commitec7652aaf261b7dcb368344369df1e99886c7cd2
tree0d21ca45022adb1221690cb5e368bc17d3f58531
parent170942726b16a1dfcc605f0b510b9663b66fa7a3
SUNRPC: register RPC stats /proc entries in passed network namespace context

This patch makes it possible to create NFS program entry ("/proc/net/rpc/nfs")
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/nfs/inode.c
include/linux/sunrpc/stats.h
net/sunrpc/stats.c