Browse Source

fuse_open.cpp

passthrough2
Antonio SJ Musumeci 9 months ago
parent
commit
908f95376f
  1. 11
      src/fuse_open.cpp

11
src/fuse_open.cpp

@ -232,12 +232,11 @@ namespace l
fi = reinterpret_cast<FileInfo*>(ffi_->fh); fi = reinterpret_cast<FileInfo*>(ffi_->fh);
fi->fusepath;
// foo.visit(fi->fusepath,
// [&](int &backing_id_)
// {
// backing_id = backing_id_;
// });
foo.visit(fi->fusepath,
[&](int &backing_id_)
{
backing_id = backing_id_;
});
backing_id = fuse_passthrough_open(fc_,fi->fd); backing_id = fuse_passthrough_open(fc_,fi->fd);
if(backing_id <= 0) if(backing_id <= 0)

Loading…
Cancel
Save