mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 15:06:33 -05:00
Start using std::filesystem::path for fusepath (#1522)
This commit is contained in:
parent
f64ff9ca1e
commit
8c649d33ee
139 changed files with 1711 additions and 1663 deletions
|
|
@ -60,7 +60,7 @@ FUSE::fgetattr(const uint64_t fh_,
|
|||
state.open_files.cvisit(fc->nodeid,
|
||||
[&](const auto &val_)
|
||||
{
|
||||
fh = reinterpret_cast<uint64_t>(val_.second.fi);
|
||||
fh = val_.second.fi->to_fh();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ FUSE::fgetattr(const uint64_t fh_,
|
|||
return -ENOENT;
|
||||
}
|
||||
|
||||
FileInfo *fi = reinterpret_cast<FileInfo*>(fh);
|
||||
FileInfo *fi = FileInfo::from_fh(fh);
|
||||
|
||||
rv = ::_fgetattr(fi,st_);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue