Browse Source

fuse.cpp

tests
Antonio SJ Musumeci 5 days ago
parent
commit
2569609740
  1. 1
      libfuse/lib/fuse.cpp

1
libfuse/lib/fuse.cpp

@ -2198,6 +2198,7 @@ fuse_lib_open(fuse_req_t *req_,
mutex_lock(&f.lock); mutex_lock(&f.lock);
get_node(hdr_->nodeid)->open_count++; get_node(hdr_->nodeid)->open_count++;
mutex_unlock(&f.lock); mutex_unlock(&f.lock);
/* The open syscall was interrupted,so it must be cancelled */ /* The open syscall was interrupted,so it must be cancelled */
if(fuse_reply_open(req_,&ffi) == -ENOENT) if(fuse_reply_open(req_,&ffi) == -ENOENT)
fuse_do_release(&req_->ctx,hdr_->nodeid,&ffi); fuse_do_release(&req_->ctx,hdr_->nodeid,&ffi);

Loading…
Cancel
Save