From be883f83ce78656ba224456740f52e2f2509a1dd Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 29 Dec 2017 20:45:26 +0000 Subject: Create the BG range with the parameters the right way round --- netfs/fuse/fuseFiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netfs/fuse/fuseFiles.cpp b/netfs/fuse/fuseFiles.cpp index 8aed188..ed0e881 100644 --- a/netfs/fuse/fuseFiles.cpp +++ b/netfs/fuse/fuseFiles.cpp @@ -128,7 +128,7 @@ FuseApp::write(const char *, const char * buf, size_t s, off_t o, struct fuse_fi auto of = getProxy(fi->fh); auto remote = of->remote; if (fcr->Async) { - const auto key = OpenFile::range(s, o); + const auto key = OpenFile::range(o, s); while (true) { ScopeLock(of->_lock) { // Acquire operations to wait for -- cgit v1.2.3