]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/common: use excl_lock_from_excl when promoting tri_mutex from excl to excl 39981/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Tue, 9 Mar 2021 03:06:26 +0000 (11:06 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Wed, 10 Mar 2021 02:24:15 +0000 (10:24 +0800)
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/common/tri_mutex.h

index 127573b3ae4582c8bb80b8e2059fe8642d6d351c..0533f3539d970d4067ed4cfafd0a00a92d8dd665 100644 (file)
@@ -84,7 +84,7 @@ public:
   excl_lock_from_write& excl_from_write() {
     return *this;
   }
-  excl_lock_from_write& excl_from_excl() {
+  excl_lock_from_excl& excl_from_excl() {
     return *this;
   }