]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: add comment in feature_bitset_t::empty
authorJos Collin <jcollin@redhat.com>
Wed, 8 Jan 2020 01:31:57 +0000 (07:01 +0530)
committerJos Collin <jcollin@redhat.com>
Sat, 11 Jan 2020 07:46:51 +0000 (13:16 +0530)
Signed-off-by: Jos Collin <jcollin@redhat.com>
src/mds/mdstypes.h

index 23c6607ce37ca9cfaf6eaca6856364533bff5c4a..4db6d90df7b0e220b9f4b90c357b7e205590de4c 100644 (file)
@@ -1087,6 +1087,7 @@ public:
     return *this;
   }
   bool empty() const {
+    //block_type is a uint64_t. If the vector is only composed of 0s, then it's still "empty"
     for (auto& v : _vec) {
       if (v)
        return false;