NFSv4: Convert the NFS client idmapper to use the container user namespace
authorTrond Myklebust <trondmy@gmail.com>
Wed, 24 Apr 2019 21:46:47 +0000 (17:46 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 26 Apr 2019 21:10:53 +0000 (17:10 -0400)
commit58002399da65c53f00987623d9ff7c3c2773a0d9
tree37b2f2e5f8449f33996fcffaede37654bde31a04
parent264d948ce7d0b99cbe1aae704bbef8d951602eec
NFSv4: Convert the NFS client idmapper to use the container user namespace

When mapping NFS identities using the NFSv4 idmapper, we want to substitute
for the uids and gids that would normally go on the wire as part of a
NFSv3 request. So we use the same mapping in the NFSv4 upcall as we
use in the NFSv3 RPC call (i.e. the mapping stored in the rpc_clnt cred).

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4idmap.c