mount: add back support for filer.path

This commit is contained in:
chrislu
2022-02-28 12:16:53 -08:00
parent ca0cd81a75
commit fcf3714443
4 changed files with 17 additions and 12 deletions

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 {