From a3725ca129703fd234294a2260c0b48f0a8ce91c Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 15 Dec 2025 00:53:39 -0600 Subject: [PATCH] fuse.cpp --- libfuse/lib/fuse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libfuse/lib/fuse.cpp b/libfuse/lib/fuse.cpp index 6e4efec0..15d9d6a9 100644 --- a/libfuse/lib/fuse.cpp +++ b/libfuse/lib/fuse.cpp @@ -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)