]> err.no Git - linux-2.6/commit
svcgss: move init code into separate function
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 10 Aug 2007 00:16:22 +0000 (20:16 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 9 Oct 2007 22:31:57 +0000 (18:31 -0400)
commit21fcd02be34f73bbc94db267b4db6ccd7332923d
tree9adfcbd850a83fe22e809d401e18fdd98586db94
parentc175b83c4c4be72535c5c12abc155e29a08323a0
svcgss: move init code into separate function

We've let svcauth_gss_accept() get much too long and hairy.  The
RPC_GSS_PROC_INIT and RPC_GSS_PROC_CONTINUE_INIT cases share very little
with the other cases, so it's very natural to split them off into a
separate function.

This will also nicely isolate the piece of code we need to parametrize
to authenticating gss-protected NFSv4 callbacks on behalf of the NFS
client.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Acked-by: Neil Brown <neilb@suse.de>
net/sunrpc/auth_gss/svcauth_gss.c