aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/root_node.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-05-29 21:30:53 +0200
committerJakob Unterwurzacher2025-05-29 21:38:25 +0200
commit2609c72beee098c6afe4bbc3344a1fcee06df94b (patch)
tree3cc6f67dd36e57709da150370c3ebb71ce11f3e3 /internal/fusefrontend/root_node.go
parent735b194a2c6e6c2c36ecfb37b0e64d16e52577bf (diff)
idleMonitor: switch to the new atomic.Bool api
Diffstat (limited to 'internal/fusefrontend/root_node.go')
-rw-r--r--internal/fusefrontend/root_node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/root_node.go b/internal/fusefrontend/root_node.go
index d2950a1..8464c5f 100644
--- a/internal/fusefrontend/root_node.go
+++ b/internal/fusefrontend/root_node.go
@@ -45,7 +45,7 @@ type RootNode struct {
// (uint32 so that it can be reset with CompareAndSwapUint32).
// When -idle was used when mounting, idleMonitor() sets it to 1
// periodically.
- IsIdle uint32
+ IsIdle atomic.Bool
// dirCache caches directory fds
dirCache dirCache
// inoMap translates inode numbers from different devices to unique inode