Commit ea1f41bd authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Remove unionfs => splice dependency.

parent fee1de79
...@@ -2,8 +2,6 @@ package unionfs ...@@ -2,8 +2,6 @@ package unionfs
import ( import (
"fmt" "fmt"
"github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/splice"
"io/ioutil" "io/ioutil"
"log" "log"
"os" "os"
...@@ -12,6 +10,8 @@ import ( ...@@ -12,6 +10,8 @@ import (
"sync" "sync"
"syscall" "syscall"
"time" "time"
"github.com/hanwen/go-fuse/fuse"
) )
type knownFs struct { type knownFs struct {
...@@ -401,10 +401,6 @@ func (fs *AutoUnionFs) DebugData() string { ...@@ -401,10 +401,6 @@ func (fs *AutoUnionFs) DebugData() string {
if fs.connector != nil { if fs.connector != nil {
msg += fmt.Sprintf("Live inodes: %d\n", fs.connector.InodeHandleCount()) msg += fmt.Sprintf("Live inodes: %d\n", fs.connector.InodeHandleCount())
} }
pairs := splice.Total()
if pairs > 0 {
msg += fmt.Sprintf("Pipes: %d\n", pairs)
}
return msg return msg
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment