aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlimd <limd@sugon.com>2020-09-25 11:19:42 +0800
committerlimd <limd@sugon.com>2020-09-25 11:19:42 +0800
commit370a98cf6b5fd1a205c8015404dbb3815afb0eac (patch)
tree72e1b320c3487aa5f6cb3cd5fc849bfd94108ec8
parentaee3fd08b9bdec93ee7cc5687f8ed106a53ea71c (diff)
downloadseaweedfs-370a98cf6b5fd1a205c8015404dbb3815afb0eac.tar.xz
seaweedfs-370a98cf6b5fd1a205c8015404dbb3815afb0eac.zip
code style
-rw-r--r--weed/filesys/wfs.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go
index 14c851f88..ef31a9258 100644
--- a/weed/filesys/wfs.go
+++ b/weed/filesys/wfs.go
@@ -97,7 +97,6 @@ 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)