diff options
author | Alex Elder <elder@inktank.com> | 2012-05-16 16:16:39 -0400 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-05-17 09:18:13 -0400 |
commit | 8f43fb53894079bf0caab6e348ceaffe7adc651a (patch) | |
tree | 248ffc7366b569d13049a31e2cb1c88750d45ead /include | |
parent | a3530df33eb91d787d08c7383a0a9982690e42d0 (diff) |
ceph: use info returned by get_authorizer
Rather than passing a bunch of arguments to be filled in with the
content of the ceph_auth_handshake buffer now returned by the
get_authorizer method, just use the returned information in the
caller, and drop the unnecessary arguments.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ceph/messenger.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index b10b55f8f301..2521a95fa6d9 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
@@ -27,9 +27,7 @@ struct ceph_connection_operations { | |||
27 | /* authorize an outgoing connection */ | 27 | /* authorize an outgoing connection */ |
28 | struct ceph_auth_handshake *(*get_authorizer) ( | 28 | struct ceph_auth_handshake *(*get_authorizer) ( |
29 | struct ceph_connection *con, | 29 | struct ceph_connection *con, |
30 | void **buf, int *len, int *proto, | 30 | int *proto, int force_new); |
31 | void **reply_buf, int *reply_len, | ||
32 | int force_new); | ||
33 | int (*verify_authorizer_reply) (struct ceph_connection *con, int len); | 31 | int (*verify_authorizer_reply) (struct ceph_connection *con, int len); |
34 | int (*invalidate_authorizer)(struct ceph_connection *con); | 32 | int (*invalidate_authorizer)(struct ceph_connection *con); |
35 | 33 | ||