diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-11 03:09:30 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-11 03:09:30 -0800 |
| commit | f87da798a4e9f9d5e4e60966630c5ea1ff291d37 (patch) | |
| tree | 91e7c471731618fdd2fa440126ffcee847e69d00 /weed/command/mount2_std.go | |
| parent | 9a913457ddbb2cf4ee47309d865c154d0aef05e5 (diff) | |
| download | seaweedfs-f87da798a4e9f9d5e4e60966630c5ea1ff291d37.tar.xz seaweedfs-f87da798a4e9f9d5e4e60966630c5ea1ff291d37.zip | |
to be re-written following fuse virtual file system
Diffstat (limited to 'weed/command/mount2_std.go')
| -rw-r--r-- | weed/command/mount2_std.go | 2 |
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) } |
