]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f7b79fd19ae6786361436005ac8ce3ea18ebd85
tree37b2f2e5f8449f33996fcffaede37654bde31a04
parent41a3915c7f63ca8b2b6285cd1fb6612276a7d912
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