diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-16 02:59:26 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-16 02:59:26 -0700 |
| commit | 69694a17be1ef8817d9afb3a1265e605298e7ab3 (patch) | |
| tree | dc4cd3de99e6c7baa2ce696be6dcbe59feb556ac /weed/filesys/wfs.go | |
| parent | c00dd5e62ed72e42545d6b74dd6073b84c722743 (diff) | |
| download | seaweedfs-69694a17be1ef8817d9afb3a1265e605298e7ab3.tar.xz seaweedfs-69694a17be1ef8817d9afb3a1265e605298e7ab3.zip | |
reverting 7d57664c2d80f2b7d3eb4cecc57a3275bafee44d
Diffstat (limited to 'weed/filesys/wfs.go')
| -rw-r--r-- | weed/filesys/wfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 7c3907326..c6d9080a1 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -131,7 +131,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: filer.FromPbEntry(wfs.option.FilerMountRootPath, entry)} + wfs.root = &Dir{name: wfs.option.FilerMountRootPath, wfs: wfs, entry: entry} wfs.fsNodeCache = newFsCache(wfs.root) if wfs.option.ConcurrentWriters > 0 { |
