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)
commit80fc015bdfe1f5b870c1e1ee02d78e709523fee7
treef56fd466add111a4c6bcc29d127325e3e77b4669
parent29ab23cc5d351658d01a4327d55e9106a73fd04f
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