]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: remove dead code
authormyoungwon oh <ohmyoungwon@gmail.com>
Tue, 18 Aug 2020 12:40:35 +0000 (21:40 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Tue, 18 Aug 2020 13:06:44 +0000 (22:06 +0900)
the code is no longer useful

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
src/osd/PrimaryLogPG.cc

index 72cf1c861097284067dc775a7b15d9f88ab5df4b..63d3bffe295ef7613dc38119bb6181c56579ad9a 100644 (file)
@@ -7022,9 +7022,6 @@ int PrimaryLogPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
            goto fail;
          }
        }
-        if (!oi.manifest.is_chunked()) {
-          oi.manifest.clear();
-        }
 
        pg_t raw_pg;
        chunk_info_t chunk_info;