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
65f8b9d660
commit
646a4046b2
1 changed files with 3 additions and 1 deletions
|
|
@ -2203,7 +2203,9 @@ fuse_lib_open(fuse_req_t *req_,
|
|||
if(!err)
|
||||
{
|
||||
mutex_lock(f.lock);
|
||||
get_node(hdr_->nodeid)->open_count++;
|
||||
node_t *n = get_node(hdr_->nodeid);
|
||||
if(node)
|
||||
node->open_count++;
|
||||
mutex_unlock(f.lock);
|
||||
/* The open syscall was interrupted,so it must be cancelled */
|
||||
if(fuse_reply_open(req_,&ffi) == -ENOENT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue