summaryrefslogtreecommitdiffstats
path: root/include/linux/lockd/bind.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-31 15:08:13 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-15 00:19:48 -0500
commit66697bfd6aec0a9ca9331c1aa544ac20324a7561 (patch)
treef4e16eba25d9b757e256f96d0a1eca58b65a68cb /include/linux/lockd/bind.h
parentbb2224df5ffe4f864f5b696199b17db1ce77bc0a (diff)
downloadtalos-op-linux-66697bfd6aec0a9ca9331c1aa544ac20324a7561.tar.gz
talos-op-linux-66697bfd6aec0a9ca9331c1aa544ac20324a7561.zip
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 'include/linux/lockd/bind.h')
-rw-r--r--include/linux/lockd/bind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lockd/bind.h b/include/linux/lockd/bind.h
index fbc48f898521..11a966e5f829 100644
--- a/include/linux/lockd/bind.h
+++ b/include/linux/lockd/bind.h
@@ -42,6 +42,7 @@ struct nlmclnt_initdata {
unsigned short protocol;
u32 nfs_version;
int noresvport;
+ struct net *net;
};
/*
OpenPOWER on IntegriCloud