]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: Fix lock ordering around asok registration
authorJohn Spray <john.spray@redhat.com>
Wed, 20 Jan 2016 11:19:33 +0000 (11:19 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 21 Jan 2016 13:29:11 +0000 (13:29 +0000)
commit26d10326d9ea8c305a6fa93d7f16b29af308a5a3
tree0a49ea10b16dce88e1b531ec37b2c16a15b99314
parentfb6dea393c1e005b4b1833467710c46b0f05cb9e
mds: Fix lock ordering around asok registration

Because we acquire mds_lock inside asok handlers,
we must not hold mds_lock while registering our commands.

Fixes: #14374
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDSDaemon.cc