aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-06-15 13:12:00 +0200
committerJakob Unterwurzacher2025-06-15 13:12:00 +0200
commit17524d373c388b2d2510662aa8aefb633bae674e (patch)
treeebb03dd1ad2c5458b5456d17857ead8fdc0ea3e6
parent4358a9f998d469bf6aac077d76847498710c6b42 (diff)
fusefronted: comment syscall.S_IFMT masking
-rw-r--r--internal/fusefrontend/node_helpers.go2
1 files changed, 1 insertions, 1 deletions
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,
}