]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: remove a never reachable assert
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 24 Sep 2016 02:58:23 +0000 (10:58 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 24 Sep 2016 03:34:29 +0000 (11:34 +0800)
As this assert is deprecated by the
  "else if (it->key() >= tail)"
checking lying ahead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.cc

index 72fde89d5ae2a86b165b1605f2a98572d35e25e5..6fb0ab85ff407518f867fc8fe403f76bc43dfe10 100644 (file)
@@ -4116,7 +4116,6 @@ int BlueStore::fsck()
            dout(30) << __func__
                     << "  got " << pretty_binary_string(it->key())
                     << " -> " << user_key << dendl;
-           assert(it->key() < tail);
          }
          it->next();
        }