Commit 68d1abdb authored by Max Kellermann's avatar Max Kellermann

storage/nfs: clear last_error in SetState()

Fixes bogus assertion failure.
parent 7e8474a8
......@@ -146,6 +146,7 @@ private:
const ScopeLock protect(mutex);
state = _state;
last_error.Clear();
last_error.Set(error);
cond.broadcast();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment