mount: add back support for filer.path

This commit is contained in:
chrislu committed 2022-02-28 12:16:53 -08:00
1 parent ca0cd81a75
commit fcf3714443
4 files changed
+17 -12

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ func EnsureVisited(mc *MetaCache, client filer_pb.FilerClient, dirPath util.Full
}
// continue to parent directory
if currentPath != "/" {
if currentPath != mc.root {
parent, _ := currentPath.DirAndName()
currentPath = util.FullPath(parent)
} else {