mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 01:46:31 -05:00
libfuse: tighten scoped mutex locking
This commit is contained in:
parent
3ff9794fff
commit
fae31d68c2
11 changed files with 185 additions and 80 deletions
|
|
@ -70,7 +70,7 @@ _readdir(const fs::path &branch_path_,
|
|||
fs::inode::ReaddirCalc inodecalc(branch_path_,rel_dirpath_);
|
||||
while(true)
|
||||
{
|
||||
LockGuard lk(mutex_);
|
||||
mutex_lockguard(mutex_);
|
||||
for(int i = 0; i < MAX_ENTRIES_PER_LOOP; i++)
|
||||
{
|
||||
int rv;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue