libceph: drop len argument of *verify_authorizer_reply()
The length of the reply is protocol-dependent - for cephx it's ceph_x_authorize_reply. Nothing sensible can be passed from the messenger layer anyway. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
@@ -2033,7 +2033,7 @@ static int process_connect(struct ceph_connection *con)
|
||||
* should also define ->verify_authorizer_reply().
|
||||
* See get_connect_authorizer().
|
||||
*/
|
||||
ret = con->ops->verify_authorizer_reply(con, 0);
|
||||
ret = con->ops->verify_authorizer_reply(con);
|
||||
if (ret < 0) {
|
||||
con->error_msg = "bad authorize reply";
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user