From: Stanislav Kinsbursky Date: Fri, 1 Feb 2013 12:56:17 +0000 (+0300) Subject: nfsd: use proper net while reading "exports" file X-Git-Tag: v3.9-rc1~40^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed