knfsd: fix callback rpc cred
authorJ. Bruce Fields <bfields@fieldses.org>
Tue, 24 Oct 2006 22:33:17 +0000 (18:33 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 9 Oct 2007 22:31:57 +0000 (18:31 -0400)
commitdd4877bfb6f09cb4a294b459b354c8fc8fa66904
treed4f5f199bd0fa481b9b41c55715835272e07b482
parente8ff2a8453cedf38d6d7a0528cb9c308066a3e3e
knfsd: fix callback rpc cred

It doesn't make sense to make the callback with credentials that the
client made the setclientid with.  Instead the spec requires that the
callback occur with the credentials the client authenticated *to*.
It probably doesn't matter what we use for auth_unix, and some more
infrastructure will be needed for auth_gss, so let's just remove the
cred lookup for now.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Acked-by: Neil Brown <neilb@suse.de>
fs/nfsd/nfs4callback.c