]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: remove inappropriate initialization of num_imported
authorYongseok Oh <yongseok.oh@linecorp.com>
Mon, 20 Mar 2023 10:24:25 +0000 (19:24 +0900)
committerYongseok Oh <yongseok.oh@linecorp.com>
Mon, 15 May 2023 10:08:16 +0000 (19:08 +0900)
commit01d477eae40cbb543375bed8d955ca07c09ad959
treea4d4bad5d271c2b380162a80be19dda21fd72698
parente1587eed91087465fe6a444514fb423171ff6d91
mds: remove inappropriate initialization of num_imported

The variable num_imported is being passed by reference. Additionally,
the decode_import_dir() function is invoked from handle_export_dir(),
where num_imported is initialized and passed by reference.
Therefore, there is no need to initialize it again within
the decode_import_dir() function.

fixes: https://tracker.ceph.com/issues/59107

Signed-off-by: Yongseok Oh <yongseok.oh@linecorp.com>
src/mds/Migrator.cc