Commits

Paul Ruane committed 281f50c

Fixed Fuse mounting issue due to go-fuse API change.

  • Participants
  • Parent commits 5288825

Comments (0)

Files changed (1)

File src/tmsu/vfs/fusevfs.go

 	return fuse.ENOSYS
 }
 
+func (vfs FuseVfs) OnMount(nodeFs *pathfs.PathNodeFs) {
+	log.Infof("BEGIN OnMount()")
+	defer log.Infof("END OnMount()")
+}
+
+func (vfs FuseVfs) OnUnmount() {
+	log.Infof("BEGIN OnUnmount()")
+	defer log.Infof("END OnUnmount()")
+}
+
+func (vfs FuseVfs) String() string {
+	return "tmsu"
+}
+
 func (vfs FuseVfs) Open(name string, flags uint32, context *fuse.Context) (nodefs.File, fuse.Status) {
 	log.Infof("BEGIN Open(%v)", name)
 	defer log.Infof("END Open(%v)", name)