mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse.cpp
This commit is contained in:
parent
16ca3dec76
commit
7761ab32c5
1 changed files with 11 additions and 0 deletions
|
|
@ -1681,7 +1681,18 @@ fuse_lib_setattr(fuse_req_t *req_,
|
|||
|
||||
if(!err)
|
||||
{
|
||||
{
|
||||
node_t *node;
|
||||
mutex_lockguard(f.lock);
|
||||
|
||||
node = get_node(hdr_->nodeid);
|
||||
if(node)
|
||||
update_stat(node,&stbuf);
|
||||
}
|
||||
|
||||
|
||||
mutex_lock(f.lock);
|
||||
|
||||
update_stat(get_node(hdr_->nodeid),&stbuf);
|
||||
mutex_unlock(f.lock);
|
||||
set_stat(hdr_->nodeid,&stbuf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue