Commit 16a98c3e authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Drop Fuse from typename.

parent 955a1929
...@@ -37,7 +37,7 @@ func inodeDataKey(parentInode uint64, name string) string { ...@@ -37,7 +37,7 @@ func inodeDataKey(parentInode uint64, name string) string {
type PathFileSystemConnector struct { type PathFileSystemConnector struct {
fileSystem PathFuseFilesystem fileSystem PathFilesystem
// Protects the hashmap and its contents. // Protects the hashmap and its contents.
lock sync.Mutex lock sync.Mutex
...@@ -47,7 +47,7 @@ type PathFileSystemConnector struct { ...@@ -47,7 +47,7 @@ type PathFileSystemConnector struct {
nextFreeInode uint64 nextFreeInode uint64
} }
func NewPathFileSystemConnector(fs PathFuseFilesystem) (out *PathFileSystemConnector) { func NewPathFileSystemConnector(fs PathFilesystem) (out *PathFileSystemConnector) {
out = new(PathFileSystemConnector) out = new(PathFileSystemConnector)
out.inodePathMap = make(map[string]*inodeData) out.inodePathMap = make(map[string]*inodeData)
out.inodePathMapByInode = make(map[uint64]*inodeData) out.inodePathMapByInode = make(map[uint64]*inodeData)
......
...@@ -546,7 +546,7 @@ type DEntryList struct { ...@@ -546,7 +546,7 @@ type DEntryList struct {
offset uint64 offset uint64
} }
type PathFuseFilesystem interface { type PathFilesystem interface {
GetAttr(name string) (*Attr, Status) GetAttr(name string) (*Attr, Status)
Readlink(name string) (string, Status) Readlink(name string) (string, Status)
Mknod(name string, mode uint32, dev uint32) Status Mknod(name string, mode uint32, dev uint32) Status
......
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