diff options
Diffstat (limited to 'netfs/fuse/fuseFiles.cpp')
-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 350e74f..4c93d56 100644 --- a/netfs/fuse/fuseFiles.cpp +++ b/netfs/fuse/fuseFiles.cpp @@ -62,7 +62,7 @@ FuseApp::open(const char * p, struct fuse_file_info * fi) { try { auto remote = volume->open(reqEnv(), p, fi->flags); - setProxy<OpenFilePtr>(new OpenFile(remote, p, fi->flags), fi->fh); + setProxy<OpenFilePtr>(fi->fh, remote, p, fi->flags); return 0; } catch (SystemError & e) { @@ -75,7 +75,7 @@ FuseApp::create(const char * p, mode_t m, struct fuse_file_info * fi) { try { auto remote = volume->create(reqEnv(), p, fi->flags, m); - setProxy<OpenFilePtr>(new OpenFile(remote, p, fi->flags), fi->fh); + setProxy<OpenFilePtr>(fi->fh, remote, p, fi->flags); return 0; } catch (SystemError & e) { |