aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/wfs.go
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2020-10-14 16:39:45 +0800
committerGitHub <noreply@github.com>2020-10-14 16:39:45 +0800
commita91137579857a3ef40725dccda85f40d0ac77223 (patch)
treeab389cfefe7796600aeaca14773992daf7746752 /weed/filesys/wfs.go
parent2ff727a32d6d879a49ff5848b592518c96bb6403 (diff)
parent1069b325dd92b6a1b16a20290acc8129d5e19ef8 (diff)
downloadseaweedfs-a91137579857a3ef40725dccda85f40d0ac77223.tar.xz
seaweedfs-a91137579857a3ef40725dccda85f40d0ac77223.zip
Merge pull request #26 from chrislusf/master
sync
Diffstat (limited to 'weed/filesys/wfs.go')
-rw-r--r--weed/filesys/wfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go
index 57b4c3da5..265fc95a8 100644
--- a/weed/filesys/wfs.go
+++ b/weed/filesys/wfs.go
@@ -92,7 +92,7 @@ func NewSeaweedFileSystem(option *Option) *WFS {
wfs.chunkCache = chunk_cache.NewTieredChunkCache(256, cacheDir, option.CacheSizeMB, 1024*1024)
}
- wfs.metaCache = meta_cache.NewMetaCache(path.Join(cacheDir, "meta"), option.UidGidMapper)
+ wfs.metaCache = meta_cache.NewMetaCache(path.Join(cacheDir, "meta"), util.FullPath(option.FilerMountRootPath), option.UidGidMapper)
startTime := time.Now()
go meta_cache.SubscribeMetaEvents(wfs.metaCache, wfs.signature, wfs, wfs.option.FilerMountRootPath, startTime.UnixNano())
grace.OnInterrupt(func() {