]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ceph: messenger: reduce args to create_authorizer
authorAlex Elder <elder@inktank.com>
Wed, 16 May 2012 20:16:39 +0000 (15:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:07 +0000 (11:38 -0800)
commit018a2a13f3cb5e205618b1357124ff25eb3a8223
treecdbe7ee5776a748574c31d42721b97870ac2fad1
parent0f56a54fced6bee6e56a8b84f9adb65a41032866
ceph: messenger: reduce args to create_authorizer

(cherry picked from commit 74f1869f76d043bad12ec03b4d5f04a8c3d1f157)

Make use of the new ceph_auth_handshake structure in order to reduce
the number of arguments passed to the create_authorizor method in
ceph_auth_client_ops.  Use a local variable of that type as a
shorthand in the get_authorizer method definitions.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/mds_client.c
include/linux/ceph/auth.h
net/ceph/auth_none.c
net/ceph/auth_x.c
net/ceph/osd_client.c