path: root/include
diff options
authorIlya Dryomov <>2021-06-21 11:53:38 +0200
committerIlya Dryomov <>2021-06-24 21:03:16 +0200
commit3c0d0894320cc517fda657c69939cd0313d0b4e2 (patch)
tree461605c1079ae14df53653e4e424357456bb222c /include
parent7a971e2c0767b6fc9a77c4108eceff0509c61cdb (diff)
libceph: don't pass result into ac->ops->handle_reply()
There is no result to pass in msgr2 case because authentication failures are reported through auth_bad_method frame and in MAuth case an error is returned immediately. Signed-off-by: Ilya Dryomov <> Reviewed-by: Jeff Layton <>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ceph/auth.h b/include/linux/ceph/auth.h
index 71b5d481c653..39425e2f7cb2 100644
--- a/include/linux/ceph/auth.h
+++ b/include/linux/ceph/auth.h
@@ -50,7 +50,7 @@ struct ceph_auth_client_ops {
* another request.
int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end);
- int (*handle_reply)(struct ceph_auth_client *ac, int result,
+ int (*handle_reply)(struct ceph_auth_client *ac,
void *buf, void *end, u8 *session_key,
int *session_key_len, u8 *con_secret,
int *con_secret_len);