From 4cbd9942c316d61953a72a4e4f6576bd8de799ac Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 2 May 2022 13:03:58 +0100 Subject: Don't remove failed BG op, we need to throw it later --- netfs/fuse/fuseFiles.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/netfs/fuse/fuseFiles.cpp b/netfs/fuse/fuseFiles.cpp index 55fdcf5..8781772 100644 --- a/netfs/fuse/fuseFiles.cpp +++ b/netfs/fuse/fuseFiles.cpp @@ -194,9 +194,6 @@ namespace NetFS { }, [p, of, key](auto e) { p->promise.set_exception(e); - ScopeLock(of->mutex) { - of->bg.erase(key); - } }); }); } -- cgit v1.2.3