From 17524d373c388b2d2510662aa8aefb633bae674e Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 15 Jun 2025 13:12:00 +0200 Subject: fusefronted: comment syscall.S_IFMT masking --- internal/fusefrontend/node_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/fusefrontend/node_helpers.go b/internal/fusefrontend/node_helpers.go index 2ad2466..e8fca80 100644 --- a/internal/fusefrontend/node_helpers.go +++ b/internal/fusefrontend/node_helpers.go @@ -95,7 +95,7 @@ func (n *Node) newChild(ctx context.Context, st *syscall.Stat_t, out *fuse.Entry // Create child node id := fs.StableAttr{ - Mode: uint32(st.Mode), + Mode: uint32(st.Mode), // go-fuse masks this with syscall.S_IFMT Gen: gen, Ino: st.Ino, } -- cgit v1.2.3