common/ceph_mutex: improve ceph::shared_mutex

add helpers for supporting `ceph_mutex_is_locked()` and
`ceph_mutex_is_wlocked()` macros

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-07-07 12:32:53 +08:00
parent 99f31705b6
commit cc67c34a9e
2 changed files with 10 additions and 0 deletions