diff options
| author | limd <limd@sugon.com> | 2020-09-25 11:04:32 +0800 |
|---|---|---|
| committer | limd <limd@sugon.com> | 2020-09-25 11:04:32 +0800 |
| commit | aee3fd08b9bdec93ee7cc5687f8ed106a53ea71c (patch) | |
| tree | da3c373ceb80d5cdb7cb82971983c87305acdba7 | |
| parent | 76e24a5660a2192603b7d6d84aef1924ab95cb94 (diff) | |
| download | seaweedfs-aee3fd08b9bdec93ee7cc5687f8ed106a53ea71c.tar.xz seaweedfs-aee3fd08b9bdec93ee7cc5687f8ed106a53ea71c.zip | |
code style
| -rw-r--r-- | weed/filesys/wfs.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index ef31a9258..14c851f88 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -97,6 +97,7 @@ func NewSeaweedFileSystem(option *Option) *WFS { }) entry, _ := filer_pb.GetEntry(wfs, util.FullPath(wfs.option.FilerMountRootPath)) + wfs.root = &Dir{name: wfs.option.FilerMountRootPath, wfs: wfs, entry: entry} wfs.fsNodeCache = newFsCache(wfs.root) |
