diff options
author | Alex Elder <elder@inktank.com> | 2012-05-16 15:16:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 11:38:08 -0800 |
commit | ed35fbcd3cf73dfbff59bf8c20c772925562bc45 (patch) | |
tree | 7a93030aa0bd809eb111d339cd82a0c29b32be74 /include | |
parent | 4f33c7ed3796a5078cd9eef0d3af4ebf8f7e1b99 (diff) | |
download | linux-3.10-ed35fbcd3cf73dfbff59bf8c20c772925562bc45.tar.gz linux-3.10-ed35fbcd3cf73dfbff59bf8c20c772925562bc45.tar.bz2 linux-3.10-ed35fbcd3cf73dfbff59bf8c20c772925562bc45.zip |
ceph: use info returned by get_authorizer
(cherry picked from commit 8f43fb53894079bf0caab6e348ceaffe7adc651a)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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 b10b55f8f30..2521a95fa6d 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h @@ -27,9 +27,7 @@ struct ceph_connection_operations { /* authorize an outgoing connection */ struct ceph_auth_handshake *(*get_authorizer) ( struct ceph_connection *con, - void **buf, int *len, int *proto, - void **reply_buf, int *reply_len, - int force_new); + int *proto, int force_new); int (*verify_authorizer_reply) (struct ceph_connection *con, int len); int (*invalidate_authorizer)(struct ceph_connection *con); |