fs/torrentfs.go | 4 ++-- diff --git a/fs/torrentfs.go b/fs/torrentfs.go index a6fb6e5812b7c8bb4945337166a90543b3bcbad8..7a00f28806a7bef86bbd3e8c77dd921dddb8b491 100644 --- a/fs/torrentfs.go +++ b/fs/torrentfs.go @@ -21,6 +21,8 @@ destroyed chan struct{} mu sync.Mutex } +var _ fusefs.FSDestroyer = &torrentFS{} + var _ fusefs.NodeForgetter = rootNode{} type rootNode struct { @@ -235,8 +237,6 @@ close(me.destroyed) } me.mu.Unlock() } - -var _ fusefs.FSDestroyer = &torrentFS{} func New(cl *torrent.Client) *torrentFS { fs := &torrentFS{