diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-21 03:52:16 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-21 03:52:16 -0400 |
| commit | e1b73cba13a0cc68dd4f746eced15bd6bb24cda4 (patch) | |
| tree | b1c9e10730724024a700031ad56c20419dabb500 /include/linux/ceph/auth.h | |
| parent | 98304ad186296dc1e655399e28d5973c21db6a73 (diff) | |
| parent | c7788792a5e7b0d5d7f96d0766b4cb6112d47d75 (diff) | |
Merge tag 'v3.10-rc2' into drm-intel-next-queued
Backmerge Linux 3.10-rc2 since the various (rather trivial) conflicts
grew a bit out of hand. intel_dp.c has the only real functional
conflict since the logic changed while dev_priv->edp.bpp was moved
around.
Also squash in a whitespace fixup from Ben Widawsky for
i915_gem_gtt.c, git seems to do something pretty strange in there
(which I don't fully understand tbh).
Conflicts:
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/ceph/auth.h')
| -rw-r--r-- | include/linux/ceph/auth.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/ceph/auth.h b/include/linux/ceph/auth.h index d4080f309b56..5f3386844134 100644 --- a/include/linux/ceph/auth.h +++ b/include/linux/ceph/auth.h | |||
| @@ -52,6 +52,9 @@ struct ceph_auth_client_ops { | |||
| 52 | */ | 52 | */ |
| 53 | int (*create_authorizer)(struct ceph_auth_client *ac, int peer_type, | 53 | int (*create_authorizer)(struct ceph_auth_client *ac, int peer_type, |
| 54 | struct ceph_auth_handshake *auth); | 54 | struct ceph_auth_handshake *auth); |
| 55 | /* ensure that an existing authorizer is up to date */ | ||
| 56 | int (*update_authorizer)(struct ceph_auth_client *ac, int peer_type, | ||
| 57 | struct ceph_auth_handshake *auth); | ||
| 55 | int (*verify_authorizer_reply)(struct ceph_auth_client *ac, | 58 | int (*verify_authorizer_reply)(struct ceph_auth_client *ac, |
| 56 | struct ceph_authorizer *a, size_t len); | 59 | struct ceph_authorizer *a, size_t len); |
| 57 | void (*destroy_authorizer)(struct ceph_auth_client *ac, | 60 | void (*destroy_authorizer)(struct ceph_auth_client *ac, |
| @@ -75,6 +78,8 @@ struct ceph_auth_client { | |||
| 75 | u64 global_id; /* our unique id in system */ | 78 | u64 global_id; /* our unique id in system */ |
| 76 | const struct ceph_crypto_key *key; /* our secret key */ | 79 | const struct ceph_crypto_key *key; /* our secret key */ |
| 77 | unsigned want_keys; /* which services we want */ | 80 | unsigned want_keys; /* which services we want */ |
| 81 | |||
| 82 | struct mutex mutex; | ||
| 78 | }; | 83 | }; |
| 79 | 84 | ||
| 80 | extern struct ceph_auth_client *ceph_auth_init(const char *name, | 85 | extern struct ceph_auth_client *ceph_auth_init(const char *name, |
| @@ -94,5 +99,18 @@ extern int ceph_build_auth(struct ceph_auth_client *ac, | |||
| 94 | void *msg_buf, size_t msg_len); | 99 | void *msg_buf, size_t msg_len); |
| 95 | 100 | ||
| 96 | extern int ceph_auth_is_authenticated(struct ceph_auth_client *ac); | 101 | extern int ceph_auth_is_authenticated(struct ceph_auth_client *ac); |
| 102 | extern int ceph_auth_create_authorizer(struct ceph_auth_client *ac, | ||
| 103 | int peer_type, | ||
| 104 | struct ceph_auth_handshake *auth); | ||
| 105 | extern void ceph_auth_destroy_authorizer(struct ceph_auth_client *ac, | ||
| 106 | struct ceph_authorizer *a); | ||
| 107 | extern int ceph_auth_update_authorizer(struct ceph_auth_client *ac, | ||
| 108 | int peer_type, | ||
| 109 | struct ceph_auth_handshake *a); | ||
| 110 | extern int ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac, | ||
| 111 | struct ceph_authorizer *a, | ||
| 112 | size_t len); | ||
| 113 | extern void ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac, | ||
| 114 | int peer_type); | ||
| 97 | 115 | ||
| 98 | #endif | 116 | #endif |
