mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-08 21:08:27 +01:00
FUSE mount: rename under root
fix https://github.com/chrislusf/seaweedfs/issues/1242
This commit is contained in:
1 parent
9f2c9b666b
commit
64000f5c45
1 file changed
+3
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user