mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 23:16:27 -05:00
Auto-commit fuse.cpp
This commit is contained in:
parent
eb69f8576f
commit
ba1c6d8e27
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