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:
Yuri Weinstein 2016-07-18 16:22:40 -07:00 committed by GitHub
commit 4f3ba2262b

View File

@ -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;
}