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
68672c0d8a
commit
c276a2a7f9
1 changed files with 3 additions and 1 deletions
|
|
@ -2108,7 +2108,9 @@ fuse_lib_create(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