mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
Merge pull request #10197 from songbaisen/b0
mon: write fsid use the right return value Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
4f3ba2262b
@ -4940,8 +4940,8 @@ int Monitor::check_fsid()
|
||||
int Monitor::write_fsid()
|
||||
{
|
||||
MonitorDBStore::TransactionRef t(new MonitorDBStore::Transaction);
|
||||
int r = write_fsid(t);
|
||||
store->apply_transaction(t);
|
||||
write_fsid(t);
|
||||
int r = store->apply_transaction(t);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user