]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/sunrpc/auth_generic.c
sunrpc: plumb gfp_t parm into crcreate operation
authorJeff Layton <jlayton@poochiereds.net>
Fri, 22 Apr 2016 00:51:54 +0000 (20:51 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 9 May 2016 13:05:40 +0000 (09:05 -0400)
commit3c6e0bc8a14cfc8e1d4ab87f46f77b070c815bf1
tree77b3bdbc71d4b2d71518112dd95bf5328ff8843e
parent06ef26a0e35199cc0445d7d5708533a12af8ff5b
sunrpc: plumb gfp_t parm into crcreate operation

We need to be able to call the generic_cred creator from different
contexts. Add a gfp_t parm to the crcreate operation and to
rpcauth_lookup_credcache. For now, we just push the gfp_t parms up
one level to the *_lookup_cred functions.

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.c
net/sunrpc/auth_generic.c
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/auth_unix.c