From aee3fd08b9bdec93ee7cc5687f8ed106a53ea71c Mon Sep 17 00:00:00 2001 From: limd Date: Fri, 25 Sep 2020 11:04:32 +0800 Subject: [PATCH] code style --- weed/filesys/wfs.go | 1 + 1 file changed, 1 insertion(+) 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)