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
22bfb711ff
commit
7b2b0b651a
1 changed files with 3 additions and 1 deletions
|
|
@ -2905,7 +2905,9 @@ fuse_lib_tmpfile(fuse_req_t *req_,
|
|||
if(!err)
|
||||
{
|
||||
mutex_lock(f.lock);
|
||||
get_node(e.ino)->open_count++;
|
||||
node_t *node = get_node(e.ino);
|
||||
if(node)
|
||||
node->open_count++;
|
||||
mutex_unlock(f.lock);
|
||||
|
||||
if(fuse_reply_create(req_,&e,&ffi) == -ENOENT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue