Browse Source

fuse.cpp

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

4
libfuse/lib/fuse.cpp

@ -2335,6 +2335,10 @@ fuse_lib_opendir(fuse_req_t *req_,
if(!err) if(!err)
{ {
mutex_lock(&f.lock);
get_node(hdr_->nodeid)->open_count++;
mutex_unlock(&f.lock);
if(fuse_reply_open(req_,&llffi) == -ENOENT) if(fuse_reply_open(req_,&llffi) == -ENOENT)
{ {
/* The opendir syscall was interrupted,so it /* The opendir syscall was interrupted,so it

Loading…
Cancel
Save