to be re-written following fuse virtual file system

This commit is contained in:
chrislu
2022-02-11 03:09:30 -08:00
parent 9a913457dd
commit f87da798a4
7 changed files with 147 additions and 26 deletions

View File

@@ -207,7 +207,7 @@ func RunMount2(option *Mount2Options, umask os.FileMode) bool {
UidGidMapper: uidGidMapper,
})
server, err := fs.Mount(dir, seaweedFileSystem, opts)
server, err := fs.Mount(dir, seaweedFileSystem.Root(), opts)
if err != nil {
glog.Fatalf("Mount fail: %v", err)
}