diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-31 15:07:48 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-15 09:19:46 +0400 |
commit | c228fa2038a33bb3b87f567482124f452e162a71 (patch) | |
tree | 7d89404b7d9facf20487b782126ddfa5dfe14620 /include/linux/sunrpc | |
parent | 074d0f67cfe0af4927ce49560f403096b490c47f (diff) | |
download | linux-c228fa2038a33bb3b87f567482124f452e162a71.tar.xz |
Lockd: create permanent lockd sockets in current network namespace
This patch parametrizes Lockd permanent sockets creation routine by network
namespace context.
It also replaces hard-coded init_net with current network namespace context in
Lockd sockets creation routines.
This approach looks safe, because Lockd is created during NFS mount (or NFS
server start) and thus socket is required exactly in current network namespace
context. But in the same time it means, that Lockd sockets inherits first Lockd
requester network namespace. This issue will be fixed in further patches of the
series.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
0 files changed, 0 insertions, 0 deletions