]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: asok should drop lock to call hook
authorJohn Spray <john.spray@redhat.com>
Tue, 9 Feb 2016 12:11:40 +0000 (12:11 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 9 Feb 2016 12:18:24 +0000 (12:18 +0000)
commitbe5748a818bbf065ecc7877ad8c2638d30fd2004
tree9e665c816353442c74b4f4f8c643e6630e26b131
parent7731ae92c86127f5220b39d6f95c4ac0e00df6e3
common: asok should drop lock to call hook

Otherwise, hooks cannot take any locks which
were held during registration of hooks, because
it creates a cycle.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/admin_socket.cc
src/common/admin_socket.h