mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-09-02 23:20:38 +02: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.root = &Dir{Path: wfs.option.FilerMountRootPath, wfs: wfs}
|
||||||
|
wfs.getNode(filer2.FullPath(wfs.option.FilerMountRootPath), func() fs.Node {
|
||||||
|
return wfs.root
|
||||||
|
})
|
||||||
|
|
||||||
return wfs
|
return wfs
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue