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
1ca66efa35
commit
482b725ea6
1 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue