mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fuse_open.cpp
This commit is contained in:
parent
1ef515feda
commit
c47a47c845
1 changed files with 3 additions and 2 deletions
|
|
@ -42,6 +42,7 @@ struct PT
|
|||
std::mutex mutex;
|
||||
};
|
||||
|
||||
typedef boost::unordered::concurrent_flat_map<std::string,PT> PTMap;;
|
||||
static boost::unordered::concurrent_flat_map<std::string,PT> pt;
|
||||
|
||||
|
||||
|
|
@ -335,8 +336,8 @@ namespace FUSE
|
|||
open(const char *fusepath_,
|
||||
fuse_file_info_t *ffi_)
|
||||
{
|
||||
PT x;
|
||||
// pt.try_emplace_or_visit(fusepath_,
|
||||
pt.try_emplace_or_visit(fusepath_,
|
||||
[](const std::pair<std::string,PT>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue