mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-25 09:03:37 +08:00
Make srcmounts readonly
All tools only read from srcmounts and the current setup had a bug which caused branch mode and minfreespace to be stripped when using config file.
This commit is contained in:
parent
c681d6c2fe
commit
c72997f298
|
@ -424,7 +424,8 @@ SrcMounts::SrcMounts(Branches &b_)
|
|||
int
|
||||
SrcMounts::from_string(const std::string &s_)
|
||||
{
|
||||
return _branches.from_string(s_);
|
||||
// return _branches.from_string(s_);
|
||||
return 0;
|
||||
}
|
||||
|
||||
std::string
|
||||
|
|
|
@ -68,6 +68,7 @@ namespace l
|
|||
IFERT("read-thread-count");
|
||||
IFERT("readdirplus");
|
||||
IFERT("scheduling-priority");
|
||||
IFERT("srcmounts");
|
||||
IFERT("threads");
|
||||
IFERT("version");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user