Commit ba8e3f11 authored by Max Kellermann's avatar Max Kellermann

input/nfs: notify client on error

Fixes hanging NFS client.
parent fd8a53ca
...@@ -170,6 +170,8 @@ NfsInputStream::OnNfsFileError(Error &&error) ...@@ -170,6 +170,8 @@ NfsInputStream::OnNfsFileError(Error &&error)
SeekDone(); SeekDone();
else if (!IsReady()) else if (!IsReady())
SetReady(); SetReady();
else
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