diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-04-21 20:54:52 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-04-21 20:54:52 +0100 |
commit | f07c229d99a535eb8cfe92439613ad95dee40463 (patch) | |
tree | f6e1ce04a09eec5efcc75f3bb5037e10c4bb468c /netfs/fuse | |
parent | Fixup the shutdown of fuse_loop in test cases (diff) | |
download | netfs-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.cpp | 4 |
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)) { |