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
bd2f51e34a
commit
43593caf6b
1 changed files with 7 additions and 0 deletions
|
|
@ -2067,6 +2067,13 @@ fuse_lib_create(fuse_req_t *req_,
|
|||
// later in the actual create. Added for use with passthrough.
|
||||
{
|
||||
node_t *node = find_node(hdr_->nodeid,name);
|
||||
|
||||
if(node == NULL)
|
||||
{
|
||||
fuse_reply_err(req_,ENOMEM);
|
||||
return;
|
||||
}
|
||||
|
||||
new_nodeid = node->nodeid;
|
||||
req_->ctx.nodeid = new_nodeid;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue