Kernel: Explicitly copy Plan9FS read errors to registered delegates

This commit is contained in:
Timothy Flynn 2023-02-09 14:19:04 -05:00 committed by Linus Groh
parent 945f392392
commit 52687814ea
Notes: sideshowbarker 2024-07-17 01:28:15 +09:00

View file

@ -334,7 +334,7 @@ void Plan9FS::thread_main()
MutexLocker locker(m_lock);
for (auto& it : m_completions) {
it.value->result = result;
it.value->result = Error::copy(result.error());
it.value->completed = true;
}
m_completions.clear();