diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 7ca96da0ada..05191f29347 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -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; }