mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
FUSE mount: rename under root
fix https://github.com/chrislusf/seaweedfs/issues/1242
This commit is contained in:
parent
9f2c9b666b
commit
64000f5c45
|
@ -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…
Reference in a new issue