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>
This commit is contained in:

committed by
Trond Myklebust

parent
bb2224df5f
commit
66697bfd6a
@@ -42,6 +42,7 @@ struct nlmclnt_initdata {
|
||||
unsigned short protocol;
|
||||
u32 nfs_version;
|
||||
int noresvport;
|
||||
struct net *net;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user