sunrpc: add rpc_lookup_generic_cred
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 22 Apr 2016 00:51:55 +0000 (20:51 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 9 May 2016 13:05:40 +0000 (09:05 -0400)
commitc065d229e308ede426a3608cf480c61983b36fb8
treeac4960b426633aa8ba95665e998a7ebe08238416
parent3c6e0bc8a14cfc8e1d4ab87f46f77b070c815bf1
sunrpc: add rpc_lookup_generic_cred

Add function rpc_lookup_generic_cred, which allows lookups of a generic
credential that's not current_cred().

[jlayton: add gfp_t parm]

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/auth.h
net/sunrpc/auth_generic.c