Browse Source

FUSE mount: rename under root

fix https://github.com/chrislusf/seaweedfs/issues/1242
pull/1255/head
Chris Lu 5 years ago
parent
commit
64000f5c45
  1. 3
      weed/filesys/wfs.go

3
weed/filesys/wfs.go

@ -84,6 +84,9 @@ func NewSeaweedFileSystem(option *Option) *WFS {
}
wfs.root = &Dir{Path: wfs.option.FilerMountRootPath, wfs: wfs}
wfs.getNode(filer2.FullPath(wfs.option.FilerMountRootPath), func() fs.Node {
return wfs.root
})
return wfs
}

Loading…
Cancel
Save