summaryrefslogtreecommitdiff
path: root/netfs/fuse
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-04-21 20:54:52 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-04-21 20:54:52 +0100
commitf07c229d99a535eb8cfe92439613ad95dee40463 (patch)
treef6e1ce04a09eec5efcc75f3bb5037e10c4bb468c /netfs/fuse
parentFixup the shutdown of fuse_loop in test cases (diff)
downloadnetfs-f07c229d99a535eb8cfe92439613ad95dee40463.tar.bz2
netfs-f07c229d99a535eb8cfe92439613ad95dee40463.tar.xz
netfs-f07c229d99a535eb8cfe92439613ad95dee40463.zip
Breaking: remove unused reqenv from ftruncate and fgetattr
Diffstat (limited to 'netfs/fuse')
-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)) {