mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit branches.cpp
This commit is contained in:
parent
c0dcd3286a
commit
f8ec53d8be
1 changed files with 5 additions and 0 deletions
|
|
@ -472,6 +472,11 @@ Branches::find_and_set_mode_ro()
|
|||
branch.mode = Branch::Mode::RO;
|
||||
changed = true;
|
||||
}
|
||||
|
||||
if(not changed)
|
||||
return;
|
||||
|
||||
std::atomic_store(&_impl,new_impl);
|
||||
}
|
||||
|
||||
SrcMounts::SrcMounts(Branches &b_)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue