commit | 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 | [log] [tgz] |
---|---|---|
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | Fri Feb 01 15:56:17 2013 +0300 |
committer | J. Bruce Fields <bfields@redhat.com> | Fri Feb 15 11:21:01 2013 -0500 |
tree | f019d279e6cd5bf255a81c23f7aac3564397f832 | |
parent | 11f779421a39b86da8a523d97e5fd3477878d44f [diff] |
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>