This commit is contained in:
Antonio SJ Musumeci 2025-12-15 00:53:39 -06:00
parent 5aaf31ce6e
commit a3725ca129

View file

@ -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)