NFS: Store the legacy idmapper result in the keyring
authorBryan Schumaker <bjschuma@netapp.com>
Fri, 24 Feb 2012 19:14:51 +0000 (14:14 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Mar 2012 22:10:16 +0000 (17:10 -0500)
commit57e62324e469e092ecc6c94a7a86fe4bd6ac5172
tree162a5ecd487bc842bc07cc8d4c14d4d1a337813d
parent59e6b9c11341e3b8ac5925427c903d4eae435bd8
NFS: Store the legacy idmapper result in the keyring

This patch removes the old hashmap-based caching and instead uses a
"request key actor" to place an upcall to the legacy idmapper rather
than going through /sbin/request-key.  This will only be used as a
fallback if /etc/request-key.conf isn't configured to use nfsidmap.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/idmap.c
include/linux/nfs_idmap.h