linux/fs/lockd
Stanislav Kinsbursky cb7323fffa 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>
2012-10-01 15:27:43 -07:00
..
Makefile
clnt4xdr.c lockd: fix the endianness bug 2012-04-13 13:50:52 -04:00
clntlock.c Lockd: pass network namespace to creation and destruction routines 2012-04-11 17:55:06 -04:00
clntproc.c lockd: handle lockowner allocation failure in nlmclnt_proc() 2012-07-29 23:17:39 +04:00
clntxdr.c lockd: fix the endianness bug 2012-04-13 13:50:52 -04:00
grace.c LockD: pass actual network namespace to grace period management functions 2012-07-27 16:49:22 -04:00
host.c SUNRPC: service request network namespace helper introduced 2012-07-27 16:49:21 -04:00
mon.c lockd: create and use per-net NSM RPC clients on MON/UNMON requests 2012-10-01 15:27:43 -07:00
netns.h lockd: per-net NSM client creation and destruction helpers introduced 2012-10-01 15:27:34 -07:00
svc.c lockd: per-net NSM client creation and destruction helpers introduced 2012-10-01 15:27:34 -07:00
svc4proc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-08-01 10:26:23 -07:00
svclock.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-08-01 10:26:23 -07:00
svcproc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-08-01 10:26:23 -07:00
svcshare.c
svcsubs.c LockD: mark host per network namespace on garbage collect 2012-07-27 16:48:43 -04:00
xdr.c
xdr4.c