diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-31 15:08:13 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-15 00:19:48 -0500 |
commit | 66697bfd6aec0a9ca9331c1aa544ac20324a7561 (patch) | |
tree | f4e16eba25d9b757e256f96d0a1eca58b65a68cb /include/linux/lockd/bind.h | |
parent | bb2224df5ffe4f864f5b696199b17db1ce77bc0a (diff) | |
download | talos-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.h | 1 |
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; }; /* |