aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-11 03:09:30 -0800
committerchrislu <chris.lu@gmail.com>2022-02-11 03:09:30 -0800
commitf87da798a4e9f9d5e4e60966630c5ea1ff291d37 (patch)
tree91e7c471731618fdd2fa440126ffcee847e69d00 /weed/command
parent9a913457ddbb2cf4ee47309d865c154d0aef05e5 (diff)
downloadseaweedfs-f87da798a4e9f9d5e4e60966630c5ea1ff291d37.tar.xz
seaweedfs-f87da798a4e9f9d5e4e60966630c5ea1ff291d37.zip
to be re-written following fuse virtual file system
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/mount2_std.go2
1 files changed, 1 insertions, 1 deletions
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)
}