]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89d3238622a61d1d3a3c45cbf1e9baed0477db9f
tree77b3bdbc71d4b2d71518112dd95bf5328ff8843e
parent7aeeeba059b9b697ca9cd4daa14c642eacc9d6d6
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