ceph: messenger: reduce args to create_authorizer
authorAlex Elder <elder@inktank.com>
Wed, 16 May 2012 20:16:39 +0000 (15:16 -0500)
committerAlex Elder <elder@dreamhost.com>
Thu, 17 May 2012 13:18:12 +0000 (08:18 -0500)
commit74f1869f76d043bad12ec03b4d5f04a8c3d1f157
treefcce410d255e2660fc82532c70de1b2f60a956c6
parent6c4a19158b96ea1fb8acbe0c1d5493d9dcd2f147
ceph: messenger: reduce args to create_authorizer

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>
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