diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-31 06:08:13 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-15 00:19:48 -0500 |
commit | 66697bfd6aec0a9ca9331c1aa544ac20324a7561 (patch) | |
tree | f4e16eba25d9b757e256f96d0a1eca58b65a68cb /fs/nfs/client.c | |
parent | bb2224df5ffe4f864f5b696199b17db1ce77bc0a (diff) |
LockD: make nlm hosts network namespace aware
This object depends on RPC client, and thus on network namespace.
So let's make it's allocation and lookup in network namespace context.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 2328dcbf6c0b..1a5cd49dff80 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -707,6 +707,7 @@ static int nfs_start_lockd(struct nfs_server *server) | |||
707 | .nfs_version = clp->rpc_ops->version, | 707 | .nfs_version = clp->rpc_ops->version, |
708 | .noresvport = server->flags & NFS_MOUNT_NORESVPORT ? | 708 | .noresvport = server->flags & NFS_MOUNT_NORESVPORT ? |
709 | 1 : 0, | 709 | 1 : 0, |
710 | .net = clp->net, | ||
710 | }; | 711 | }; |
711 | 712 | ||
712 | if (nlm_init.nfs_version > 3) | 713 | if (nlm_init.nfs_version > 3) |