mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fuse.cpp
This commit is contained in:
parent
5aaf31ce6e
commit
a3725ca129
1 changed files with 3 additions and 0 deletions
|
|
@ -1866,6 +1866,9 @@ fuse_lib_rmdir(fuse_req_t *req_,
|
|||
err = get_path_wrlock(hdr_->nodeid,name,&fusepath,&wnode);
|
||||
if(!err)
|
||||
{
|
||||
if(node_open(wnode))
|
||||
req_->ctx.nodeid = wnode->nodeid;
|
||||
|
||||
err = f.ops.rmdir(&req_->ctx,
|
||||
&fusepath[1]);
|
||||
if(!err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue