diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-12 00:36:29 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-12 00:36:38 -0800 |
| commit | 7d57664c2d80f2b7d3eb4cecc57a3275bafee44d (patch) | |
| tree | 86d2a46c937bc75faafca7bae9709fd5a4b9059e /weed/filesys/wfs.go | |
| parent | d41202f1b3b6e8a463eec854b721a57dffc7cf66 (diff) | |
| download | seaweedfs-7d57664c2d80f2b7d3eb4cecc57a3275bafee44d.tar.xz seaweedfs-7d57664c2d80f2b7d3eb4cecc57a3275bafee44d.zip | |
mount: internals switch to filer.Entry instead of protobuf
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 c6d9080a1..7a6b4fa2b 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: entry} + wfs.root = &Dir{name: wfs.option.FilerMountRootPath, wfs: wfs, entry: filer.FromPbEntry(wfs.option.FilerMountRootPath,entry)} wfs.fsNodeCache = newFsCache(wfs.root) if wfs.option.ConcurrentWriters > 0 { |
