diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2013-02-01 13:56:17 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-15 17:21:01 +0100 |
commit | 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 (patch) | |
tree | f019d279e6cd5bf255a81c23f7aac3564397f832 /fs/nfsd/nfs4recover.c | |
parent | nfsd: containerize NFSd filesystem (diff) | |
download | linux-96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5.tar.xz linux-96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5.zip |
nfsd: use proper net while reading "exports" file
Functuon "exports_open" is used for both "/proc/fs/nfs/exports" and
"/proc/fs/nfsd/exports" files.
Now NFSd filesystem is containerised, so proper net can be taken from
superblock for "/proc/fs/nfsd/exports" reader.
But for "/proc/fs/nfsd/exports" only current->nsproxy->net_ns can be used.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4recover.c')
0 files changed, 0 insertions, 0 deletions