diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-10 16:12:46 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 18:20:26 -0500 |
commit | e50a7a1a42335243c94eeea4a8d23413cb02370d (patch) | |
tree | 070a312c2adfce384b64083b8ae204b4d47ffba9 /fs/nfs/mount_clnt.c | |
parent | ad6b134008f4e765dd19976552b929273ae523bd (diff) | |
download | op-kernel-dev-e50a7a1a42335243c94eeea4a8d23413cb02370d.zip op-kernel-dev-e50a7a1a42335243c94eeea4a8d23413cb02370d.tar.gz |
NFS: make NFS client allocated per network namespace context
This patch adds new net variable to nfs_client structure. This variable is set
on NFS client creation and cheched during matching NFS client search.
Initially current->nsproxy->net_ns is used as network namespace owner for new
NFS client to create. This network namespace pointer is set during mount
options parsing and thus can be passed from user-spave utils in future if will
be necessary.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/mount_clnt.c')
0 files changed, 0 insertions, 0 deletions