mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
ceph-objectstore-tool: return 0 if incmap is sane
this change addresses the regression introduced by 2e2414b3
Fixes: https://tracker.ceph.com/issues/41177
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
8958df969e
commit
d03f397544
@ -277,6 +277,7 @@ int update_osdmap(ObjectStore& fs, OSDSuperblock& sb, MonitorDBStore& ms)
|
||||
// inc.decode() verifies `inc_crc`, so it's been taken care of.
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}();
|
||||
switch (add_inc_result) {
|
||||
case -ENOENT:
|
||||
|
Loading…
Reference in New Issue
Block a user