summaryrefslogtreecommitdiffstats
path: root/fs/lockd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-09-18 13:37:23 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-01 15:27:43 -0700
commitcb7323fffa85df37161f4d3be45e1f787808309c (patch)
treee981d8fb5bc7d10a8118a9d2e0805a4c5fbd4545 /fs/lockd/netns.h
parent303a7ce92064c285a04c870f2dc0192fdb2968cb (diff)
downloadop-kernel-dev-cb7323fffa85df37161f4d3be45e1f787808309c.zip
op-kernel-dev-cb7323fffa85df37161f4d3be45e1f787808309c.tar.gz
lockd: create and use per-net NSM RPC clients on MON/UNMON requests
NSM RPC client can be required on NFSv3 umount, when child reaper is dying (and destroying it's mount namespace). It means, that current nsproxy is set to NULL already, but creation of RPC client requires UTS namespace for gaining hostname string. This patch creates reference-counted per-net NSM client on first monitor request and destroys it after last unmonitor request. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Cc: <stable@vger.kernel.org> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd/netns.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud