nfsd: knfsd must use the container user namespace
authorTrond Myklebust <trondmy@gmail.com>
Tue, 9 Apr 2019 16:13:42 +0000 (12:13 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 24 Apr 2019 13:46:35 +0000 (09:46 -0400)
commite45d1a1835b889676374fb74ff4d0e6b06ad173f
treeccb99869e92ef128774ab5a9f2405d3e869a4a80
parente6667c73a27d80078f8d7fca516d6b14bc4e18a7
nfsd: knfsd must use the container user namespace

Convert knfsd to use the user namespace of the container that started
the server processes.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/export.c
fs/nfsd/nfs3xdr.c
fs/nfsd/nfs4idmap.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsd.h
fs/nfsd/nfsxdr.c