diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-12-29 20:45:26 +0000 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-12-29 20:45:26 +0000 | 
| commit | be883f83ce78656ba224456740f52e2f2509a1dd (patch) | |
| tree | 0f29caf57c82d679ac4f1d56de7c4148af59f782 | |
| parent | Have flush() wait on each BG operation in turn without holding _lock, BG oper... (diff) | |
| download | netfs-be883f83ce78656ba224456740f52e2f2509a1dd.tar.bz2 netfs-be883f83ce78656ba224456740f52e2f2509a1dd.tar.xz netfs-be883f83ce78656ba224456740f52e2f2509a1dd.zip  | |
Create the BG range with the parameters the right way round
| -rw-r--r-- | netfs/fuse/fuseFiles.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
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<OpenFilePtr>(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  | 
