diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-10 13:12:54 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-01 00:20:27 +0100 |
commit | 6d59b8d599d594bc314026c6856424fe49df5513 (patch) | |
tree | 6ace028f324807f18c07653d5efbe782533e4ed9 /fs/nfs/internal.h | |
parent | NFS: make NFS client allocated per network namespace context (diff) | |
download | linux-6d59b8d599d594bc314026c6856424fe49df5513.tar.xz linux-6d59b8d599d594bc314026c6856424fe49df5513.zip |
NFS: pass NFS client owner network namespace to RPC client creation routine
This patch replaces static "init_net" with nfs_client->net pointer in RPC
client creation calls.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 02fb2001a283..d602188f889f 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -138,6 +138,7 @@ struct nfs_mount_request { int noresvport; unsigned int *auth_flav_len; rpc_authflavor_t *auth_flavs; + struct net *net; }; extern int nfs_mount(struct nfs_mount_request *info); |