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
fc41113062
commit
bf45327dce
1 changed files with 3 additions and 0 deletions
|
|
@ -453,6 +453,9 @@ void
|
|||
Branches::find_and_set_mode_ro()
|
||||
{
|
||||
auto impl = std::atomic_load(&_impl);
|
||||
auto new_impl = std::make_shared<Branches::Impl>(impl->minfreespace());
|
||||
|
||||
*new_impl = *impl;
|
||||
|
||||
for(auto &branch : *impl)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue