storage/nfs: clear last_error in SetState()
Fixes bogus assertion failure.
This commit is contained in:
parent
7e8474a85a
commit
68d1abdb85
|
@ -146,6 +146,7 @@ private:
|
|||
|
||||
const ScopeLock protect(mutex);
|
||||
state = _state;
|
||||
last_error.Clear();
|
||||
last_error.Set(error);
|
||||
cond.broadcast();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue