mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Kernel: Explicitly copy Plan9FS read errors to registered delegates
This commit is contained in:
parent
945f392392
commit
52687814ea
Notes:
sideshowbarker
2024-07-17 01:28:15 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/52687814ea Pull-request: https://github.com/SerenityOS/serenity/pull/17399 Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue