aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r--fs/ceph/mds_client.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index 0db6f5206d11..010ff83d640b 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -3445,7 +3445,12 @@ static struct ceph_auth_handshake *get_authorizer(struct ceph_connection *con,
3445 } 3445 }
3446 if (!auth->authorizer && ac->ops && ac->ops->create_authorizer) { 3446 if (!auth->authorizer && ac->ops && ac->ops->create_authorizer) {
3447 int ret = ac->ops->create_authorizer(ac, CEPH_ENTITY_TYPE_MDS, 3447 int ret = ac->ops->create_authorizer(ac, CEPH_ENTITY_TYPE_MDS,
3448 auth); 3448 auth);
3449 if (ret)
3450 return ERR_PTR(ret);
3451 } else if (ac->ops && ac->ops_update_authorizer) {
3452 int ret = ac->ops->update_authorizer(ac, CEPH_ENTITY_TYPE_MDS,
3453 auth);
3449 if (ret) 3454 if (ret)
3450 return ERR_PTR(ret); 3455 return ERR_PTR(ret);
3451 } 3456 }