summaryrefslogtreecommitdiff
path: root/netfs/fuse/fuseFiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/fuse/fuseFiles.cpp')
-rw-r--r--netfs/fuse/fuseFiles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netfs/fuse/fuseFiles.cpp b/netfs/fuse/fuseFiles.cpp
index 6b1ad1a..03cb394 100644
--- a/netfs/fuse/fuseFiles.cpp
+++ b/netfs/fuse/fuseFiles.cpp
@@ -228,7 +228,7 @@ namespace NetFS {
auto of = getProxy<OpenFilePtr>(fi->fh);
of->wait();
auto remote = of->remote;
- remote->ftruncate(reqEnv(), o);
+ remote->ftruncate(o);
}
else {
volume->truncate(reqEnv(), p, o);
@@ -248,7 +248,7 @@ namespace NetFS {
auto of = getProxy<OpenFilePtr>(fi->fh);
of->wait();
auto remote = of->remote;
- *s = converter.convert(remote->fgetattr(reqEnv()));
+ *s = converter.convert(remote->fgetattr());
}
else {
if (auto cacehedStat = statCache.get(p)) {