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
265d667b7a
commit
f59a0ff966
1 changed files with 5 additions and 2 deletions
|
|
@ -452,8 +452,11 @@ Branches::to_string(void) const
|
|||
void
|
||||
Branches::find_and_set_mode_ro()
|
||||
{
|
||||
Branches::Ptr impl = std::atomic_load(&_impl);
|
||||
auto new_impl = std::make_shared<Branches::Impl>(impl->minfreespace());
|
||||
Branches::Ptr impl;
|
||||
Branches::Ptr new_impl;
|
||||
|
||||
impl = std::atomic_load(&_impl);
|
||||
new_impl = std::make_shared<Branches::Impl>(impl->minfreespace());
|
||||
|
||||
*new_impl = *impl;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue