mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-24 17:06:24 -05:00
Auto-commit branches.cpp
This commit is contained in:
parent
a5a7c70c69
commit
27ed945b4a
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