mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-18 22:43:41 +08: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 New Issue
Block a user