diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-10 07:12:54 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 18:20:27 -0500 |
commit | 6d59b8d599d594bc314026c6856424fe49df5513 (patch) | |
tree | 6ace028f324807f18c07653d5efbe782533e4ed9 /fs/nfs/internal.h | |
parent | e50a7a1a42335243c94eeea4a8d23413cb02370d (diff) |
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 { | |||
138 | int noresvport; | 138 | int noresvport; |
139 | unsigned int *auth_flav_len; | 139 | unsigned int *auth_flav_len; |
140 | rpc_authflavor_t *auth_flavs; | 140 | rpc_authflavor_t *auth_flavs; |
141 | struct net *net; | ||
141 | }; | 142 | }; |
142 | 143 | ||
143 | extern int nfs_mount(struct nfs_mount_request *info); | 144 | extern int nfs_mount(struct nfs_mount_request *info); |