]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: remove inappropriate initialization of num_imported 51697/head
authorYongseok Oh <yongseok.oh@linecorp.com>
Mon, 20 Mar 2023 10:24:25 +0000 (19:24 +0900)
committerDhairya Parmar <dparmar@redhat.com>
Tue, 23 May 2023 08:52:05 +0000 (14:22 +0530)
commit3a62081098dcacccfd0d2adbeb65fcb3df3b2101
tree9e96673123dee44512268c4531741c5fbbff8926
parent7d929e295559881e229ad3717a10a31a57b54aa2
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>
(cherry picked from commit 01d477eae40cbb543375bed8d955ca07c09ad959)
src/mds/Migrator.cc