]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os: reference this explicitly
authorKefu Chai <kchai@redhat.com>
Fri, 30 Jul 2021 06:56:50 +0000 (14:56 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 30 Jul 2021 06:58:00 +0000 (14:58 +0800)
to silence false alarm from Clang that `this` is not used.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/seastore/cache.h

index 8b1535c4d2ec32ed400c6bad3f35962448e868d4..f0a858b42ada0655a2459d1bf9affa7382f4143c 100644 (file)
@@ -311,7 +311,7 @@ public:
          if (!ref->is_valid()) {
            LOG_PREFIX(Cache::get_extent);
            DEBUGT("got invalid extent: {}", t, ref);
-           invalidate(t, *ref.get());
+           this->invalidate(t, *ref.get());
            return get_extent_iertr::make_ready_future<TCachedExtentRef<T>>();
          } else {
            t.add_to_read_set(ref);