]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: messenger: rework prepare_connect_authorizer()
authorAlex Elder <elder@inktank.com>
Wed, 16 May 2012 20:16:38 +0000 (15:16 -0500)
committerAlex Elder <elder@dreamhost.com>
Thu, 17 May 2012 13:18:12 +0000 (08:18 -0500)
commitde340f73162cf06b37b8156410b99ea6bdc5f5ee
tree55cde98a6667f811a7529adf02c24e683ba80cdc
parentb3dfc460da673c329d24f1fcb432f37d2d6f4a10
ceph: messenger: rework prepare_connect_authorizer()

Change prepare_connect_authorizer() so it returns without dropping
the connection mutex if the connection has no get_authorizer method.

Use the symbolic CEPH_AUTH_UNKNOWN instead of 0 when assigning
authorization protocols.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c