diff options
author | Sage Weil <sage@newdream.net> | 2010-02-02 19:21:06 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-02-10 18:04:47 -0500 |
commit | 9bd2e6f8ba71facf1cadb7154a7e0e4d345a6aba (patch) | |
tree | 1c1bb4d2f769eca05443b98334fe0fbdb3b977c2 /fs/ceph/messenger.h | |
parent | 8b6e4f2d8b21c25225b1ce8d53a2e03b92cc8522 (diff) |
ceph: allow renewal of auth credentials
Add infrastructure to allow the mon_client to periodically renew its auth
credentials. Also add a messenger callback that will force such a renewal
if a peer rejects our authenticator.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/messenger.h')
-rw-r--r-- | fs/ceph/messenger.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h index c26a3d8aa78c..c9735378be3f 100644 --- a/fs/ceph/messenger.h +++ b/fs/ceph/messenger.h | |||
@@ -32,6 +32,7 @@ struct ceph_connection_operations { | |||
32 | void **buf, int *len, int *proto, | 32 | void **buf, int *len, int *proto, |
33 | void **reply_buf, int *reply_len, int force_new); | 33 | void **reply_buf, int *reply_len, int force_new); |
34 | int (*verify_authorizer_reply) (struct ceph_connection *con, int len); | 34 | int (*verify_authorizer_reply) (struct ceph_connection *con, int len); |
35 | int (*invalidate_authorizer)(struct ceph_connection *con); | ||
35 | 36 | ||
36 | /* protocol version mismatch */ | 37 | /* protocol version mismatch */ |
37 | void (*bad_proto) (struct ceph_connection *con); | 38 | void (*bad_proto) (struct ceph_connection *con); |