From: Jos Collin Date: Wed, 8 Jan 2020 01:31:57 +0000 (+0530) Subject: mds: add comment in feature_bitset_t::empty X-Git-Tag: v15.1.0~209^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6434bd1ed56d2ed2497a35793f0b17170d1a481a;p=ceph-ci.git mds: add comment in feature_bitset_t::empty Signed-off-by: Jos Collin --- diff --git a/src/mds/mdstypes.h b/src/mds/mdstypes.h index 23c6607ce37..4db6d90df7b 100644 --- a/src/mds/mdstypes.h +++ b/src/mds/mdstypes.h @@ -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;