]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: drop redundant assert check
authorsongweibin <song.weibin@zte.com.cn>
Fri, 2 Mar 2018 07:39:48 +0000 (15:39 +0800)
committersongweibin <song.weibin@zte.com.cn>
Fri, 2 Mar 2018 07:39:48 +0000 (15:39 +0800)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/osd/PG.cc

index 649f7177d2f86d1f87c0bef99827ef44d928267f..175bd755dc42a15ddc2f770d62d9ef63039735ec 100644 (file)
@@ -3582,7 +3582,6 @@ void PG::update_snap_map(
            _snaps,
            &_t);
        } else if (i->is_modify()) {
-         assert(i->is_modify());
          int r = snap_mapper.update_snaps(
            i->soid,
            _snaps,