From d588a8f7acabe24d0f1197f3fee483076452721d Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 16 Apr 2026 08:40:41 -0500 Subject: [PATCH] Auto-commit fuse.cpp --- vendored/libfuse/lib/fuse.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vendored/libfuse/lib/fuse.cpp b/vendored/libfuse/lib/fuse.cpp index c6ef43d6..2c334445 100644 --- a/vendored/libfuse/lib/fuse.cpp +++ b/vendored/libfuse/lib/fuse.cpp @@ -1497,10 +1497,9 @@ fuse_lib_getattr(fuse_req_t *req_, if(!err) { if(fusepath != NULL) - err = f.ops.getattr(&req_->ctx,&fusepath[1],&buf,&timeouts) : - err = ((fusepath != NULL) ? - - f.ops.fgetattr(&req_->ctx,fh,&buf,&timeouts)); + err = f.ops.getattr(&req_->ctx,&fusepath[1],&buf,&timeouts); + else if(fh != 0) + err = f.ops.fgetattr(&req_->ctx,fh,&buf,&timeouts); free_path(hdr_->nodeid,fusepath); }