summaryrefslogtreecommitdiff
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-09-18 09:37:23 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-01 22:27:43 (GMT)
commitcb7323fffa85df37161f4d3be45e1f787808309c (patch)
treee981d8fb5bc7d10a8118a9d2e0805a4c5fbd4545 /fs/nfs/internal.h
parent303a7ce92064c285a04c870f2dc0192fdb2968cb (diff)
downloadlinux-cb7323fffa85df37161f4d3be45e1f787808309c.tar.xz
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/nfs/internal.h')
0 files changed, 0 insertions, 0 deletions