Auto-commit fuse.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-15 15:29:57 -05:00
parent 1ca66efa35
commit 482b725ea6

View file

@ -2350,7 +2350,14 @@ fuse_lib_opendir(fuse_req_t *req_,
return;
}
fuse_dirents_init(&dh->d);
err = fuse_dirents_init(&dh->d);
if(err)
{
free(dh);
fuse_reply_err(req_,ENOMEM);
return;
}
mutex_init(dh->lock);
llffi.fh = (uintptr_t)dh;