diff --git a/libfuse/lib/fuse.cpp b/libfuse/lib/fuse.cpp index 1c95769d..e34417bc 100644 --- a/libfuse/lib/fuse.cpp +++ b/libfuse/lib/fuse.cpp @@ -2198,6 +2198,7 @@ fuse_lib_open(fuse_req_t *req_, mutex_lock(&f.lock); get_node(hdr_->nodeid)->open_count++; mutex_unlock(&f.lock); + /* The open syscall was interrupted,so it must be cancelled */ if(fuse_reply_open(req_,&ffi) == -ENOENT) fuse_do_release(&req_->ctx,hdr_->nodeid,&ffi);