mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-19 06:02:45 +08:00
branch2.cpp
This commit is contained in:
parent
7129122fc3
commit
eb5d11d74c
|
@ -23,6 +23,6 @@ Branch2::Branch2(toml::value const &v_)
|
||||||
min_free_space = 0;
|
min_free_space = 0;
|
||||||
path = toml::find<std::string>(v_,"path");
|
path = toml::find<std::string>(v_,"path");
|
||||||
|
|
||||||
int const flags = O_DIRECTORY | O_PATH;
|
int const flags = O_DIRECTORY | O_PATH | O_NOATIME;
|
||||||
fd = openat(AT_FDCWD,path.string().c_str(),flags);
|
fd = openat(AT_FDCWD,path.string().c_str(),flags);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user