File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,13 +126,7 @@ int __ceph_auth_get_authorizer(struct ceph_auth_client *ac,
126126 struct ceph_auth_handshake * auth ,
127127 int peer_type , bool force_new ,
128128 int * proto , int * pref_mode , int * fallb_mode );
129- extern int ceph_auth_create_authorizer (struct ceph_auth_client * ac ,
130- int peer_type ,
131- struct ceph_auth_handshake * auth );
132129void ceph_auth_destroy_authorizer (struct ceph_authorizer * a );
133- extern int ceph_auth_update_authorizer (struct ceph_auth_client * ac ,
134- int peer_type ,
135- struct ceph_auth_handshake * a );
136130int ceph_auth_add_authorizer_challenge (struct ceph_auth_client * ac ,
137131 struct ceph_authorizer * a ,
138132 void * challenge_buf ,
Original file line number Diff line number Diff line change @@ -326,40 +326,12 @@ int __ceph_auth_get_authorizer(struct ceph_auth_client *ac,
326326}
327327EXPORT_SYMBOL (__ceph_auth_get_authorizer );
328328
329- int ceph_auth_create_authorizer (struct ceph_auth_client * ac ,
330- int peer_type ,
331- struct ceph_auth_handshake * auth )
332- {
333- int ret = 0 ;
334-
335- mutex_lock (& ac -> mutex );
336- if (ac -> ops && ac -> ops -> create_authorizer )
337- ret = ac -> ops -> create_authorizer (ac , peer_type , auth );
338- mutex_unlock (& ac -> mutex );
339- return ret ;
340- }
341- EXPORT_SYMBOL (ceph_auth_create_authorizer );
342-
343329void ceph_auth_destroy_authorizer (struct ceph_authorizer * a )
344330{
345331 a -> destroy (a );
346332}
347333EXPORT_SYMBOL (ceph_auth_destroy_authorizer );
348334
349- int ceph_auth_update_authorizer (struct ceph_auth_client * ac ,
350- int peer_type ,
351- struct ceph_auth_handshake * a )
352- {
353- int ret = 0 ;
354-
355- mutex_lock (& ac -> mutex );
356- if (ac -> ops && ac -> ops -> update_authorizer )
357- ret = ac -> ops -> update_authorizer (ac , peer_type , a );
358- mutex_unlock (& ac -> mutex );
359- return ret ;
360- }
361- EXPORT_SYMBOL (ceph_auth_update_authorizer );
362-
363335int ceph_auth_add_authorizer_challenge (struct ceph_auth_client * ac ,
364336 struct ceph_authorizer * a ,
365337 void * challenge_buf ,
You can’t perform that action at this time.
0 commit comments