]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: use common rpc_cred for all callbacks
authorJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 15 Sep 2009 22:07:35 +0000 (18:07 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 16 Sep 2009 00:49:34 +0000 (20:49 -0400)
commitf82951d44b208f8e02f016df93a8595383d697e3
treef56fd466add111a4c6bcc29d127325e3e77b4669
parent45995acd2b712e42cf84b2147290680a0bbe5abf
nfsd4: use common rpc_cred for all callbacks

Callbacks are always made using the machine's identity, so we can use a
single auth_generic credential shared among callbacks to all clients and
let the rpc code take care of the rest.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4state.c
include/linux/nfsd/state.h