diff options
author | 2013-02-01 15:56:17 +0300 | |
---|---|---|
committer | 2013-02-15 11:21:01 -0500 | |
commit | 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 (patch) | |
tree | f019d279e6cd5bf255a81c23f7aac3564397f832 /net/unix/af_unix.c | |
parent | nfsd: containerize NFSd filesystem (diff) | |
download | linux-dev-96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5.tar.xz linux-dev-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions