From f87da798a4e9f9d5e4e60966630c5ea1ff291d37 Mon Sep 17 00:00:00 2001 From: chrislu Date: Fri, 11 Feb 2022 03:09:30 -0800 Subject: to be re-written following fuse virtual file system --- weed/command/mount2_std.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weed/command/mount2_std.go') diff --git a/weed/command/mount2_std.go b/weed/command/mount2_std.go index 2d3c0dfb4..0cb288c3b 100644 --- a/weed/command/mount2_std.go +++ b/weed/command/mount2_std.go @@ -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) } -- cgit v1.2.3