]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1eb0af6c2b694f9c5daf7d8aff719dec44f397c
tree162a5ecd487bc842bc07cc8d4c14d4d1a337813d
parenta50b44577970f308de0f03b902e1b3274415b3c4
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